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

Add server-side tests for permission updates #3546

Open
22 tasks
gjvoosten opened this issue Apr 14, 2021 · 0 comments
Open
22 tasks

Add server-side tests for permission updates #3546

gjvoosten opened this issue Apr 14, 2021 · 0 comments
Assignees

Comments

@gjvoosten
Copy link
Collaborator

Technical debt description
#3532 changes how permissions are handled when privileged users are moved to a new position. Server-side (GraphQL client) tests should be added for the changed behaviour.

Proposed solution
Possible test cases include:

  • remove person from admin position
  • remove person from super user position
  • remove person from normal user position
  • remove person from principal position
  • move person from admin position to admin position
  • move person from admin position to super user position
  • move person from admin position to normal user position
  • move person from super user position to admin position
  • move person from super user position to super user position
  • move person from super user position to normal user position
  • move person from normal user position to admin position
  • move person from normal user position to super user position
  • move person from normal user position to normal user position
  • move person from principal position to principal position
  • set admin position to inactive
  • set super user position to inactive
  • set normal user position to inactive
  • set principal position to inactive
  • set person holding an admin position to inactive
  • set person holding a super user position to inactive
  • set person holding a normal user position to inactive
  • set person holding a principal position to inactive
@gjvoosten gjvoosten added the debt label Apr 14, 2021
@HK-Simsoft HK-Simsoft added this to the Sprint 8 (August 18 - August 31) milestone Aug 18, 2021
@midmarch midmarch removed this from the Sprint 8 (August 18 - August 31) milestone Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants