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

feat: add course staff role to model #246

Merged
merged 1 commit into from
Feb 7, 2024
Merged

Conversation

alangsto
Copy link
Member

@alangsto alangsto commented Feb 6, 2024

JIRA: COSMO-170

Description: In order to correctly revoke course staff permissions, we need to know what role the permission is associated with. This PR adds a role field to denote what type of course access a user has.

Author concerns: I've allowed the field to be null to handle the current case where course access has already been assigned without the role. Ideally we would enforce a value in this field.

Merge checklist:

  • All reviewers approved
  • CI build is green
  • Changelog record added
  • Documentation updated (not only docstrings)
  • Commits are squashed

Post merge:

  • Delete working branch (if not needed anymore)

@alangsto alangsto merged commit c497e41 into main Feb 7, 2024
8 checks passed
@alangsto alangsto deleted the alangsto/add_role_field branch February 7, 2024 13:09
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

Successfully merging this pull request may close these issues.

2 participants