Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capability for Current User to Leave a Trip #71

Open
zghera opened this issue Jul 16, 2020 · 0 comments
Open

Capability for Current User to Leave a Trip #71

zghera opened this issue Jul 16, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@zghera
Copy link
Collaborator

zghera commented Jul 16, 2020

Issue summary

Given the the current user the ability to remove themselves as a collaborator on a trip.

Expected behavior

Current user can click a button on the edit trip page that is separate from the collaborators field that allows the current user to remove themselves as a collaborator on a trip.

Actual behavior

As of PR #73 a user cannot remove themselves from a trip. This is because Edit Trip Modal collaborator section only shows collaborators other than the current user to remove from the Trip. This design allows the add and edit trip modals to use the same code to get the collaboratorUidArray.

@zghera zghera added the enhancement New feature or request label Jul 16, 2020
@zghera zghera self-assigned this Jul 16, 2020
zghera added a commit that referenced this issue Jul 16, 2020
…ause duplicate current users when saving trip.

Fix invlolves removing current user from list of collaborators when editting collaborator and add Issue #71 to let collaborators remove themselves from a trip.
@zghera zghera mentioned this issue Jul 17, 2020
1 task
@zghera zghera changed the title Capability for User to Leave a Trip Capability for Current User to Leave a Trip Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant