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

test lead clinician cannot own rcpch_audit_team_member status #568

Closed
3 tasks
eatyourpeas opened this issue Sep 9, 2023 · 1 comment
Closed
3 tasks
Assignees
Labels
security An issue which affects (or could affect) security

Comments

@eatyourpeas
Copy link
Member

Although this is not possible in the UI, the decorators do not prevent a lead clinician from updating their own status to having college level access.

  • new test to ensure e12 user of lead clinician group forbidden update own is_rcpch_audit_team_member flag to true
  • new test to ensure e12 user of any group forbidden update own is_superuser flag to true
  • add above to decorator
@eatyourpeas eatyourpeas added before-launch security An issue which affects (or could affect) security labels Sep 9, 2023
@anchit-chandran
Copy link
Collaborator

close on pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security An issue which affects (or could affect) security
Projects
None yet
Development

No branches or pull requests

2 participants