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

Delete occupant #110

Open
nicolebudiman opened this issue Mar 13, 2020 · 0 comments
Open

Delete occupant #110

nicolebudiman opened this issue Mar 13, 2020 · 0 comments

Comments

@nicolebudiman
Copy link
Contributor

nicolebudiman commented Mar 13, 2020

As an admin or a manager,
I should be able to delete an occupant
so that I do not assign non-existent occupant.

Acceptance Criteria
Given that I view the list of occupants in Homepage,
When I click on Delete Occupant,
Then, I will be able to remove the occupant after confirming.

Given that there is an existing current/future stay,
When I try to delete the occupant,
Then I will be able to see a warning message that the occupant has been assigned to an apartment.

As a guest,
I should not be able to remove any occupant,
so that the data is not removed without the right authorisation

Acceptance Criteria
Given that I am on the Homepage,
When I view the list of occupants in Homepage
Then, I should not be able to see any link to delete the occupant.

To confirm:

  1. Should delete occupant be allowed if there is an existing past stays?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant