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 permisisons checks where roles are currently checked #33574

Merged

Conversation

hsinkoff
Copy link
Member

This is a PR to a feature branch.
It adds permission checks alongside some of the roles checks that exist in edx-platform.
It adds an additional helper function to determine if a user has one of a set of permissions

Changes
Add permissions checks
Add function to check if a user has one of a set of permissions for a specific course

Replaces PR 33419

@hsinkoff hsinkoff force-pushed the ROLES-24-role_checks_to_permission_checks branch from 826429c to 6f82737 Compare October 27, 2023 17:25
@hsinkoff hsinkoff force-pushed the ROLES-2-course_roles_setup branch 2 times, most recently from 5992663 to 073e499 Compare October 27, 2023 18:23
@hsinkoff hsinkoff force-pushed the ROLES-24-role_checks_to_permission_checks branch 9 times, most recently from 580628d to 497729c Compare October 31, 2023 19:42
@hsinkoff hsinkoff force-pushed the ROLES-24-role_checks_to_permission_checks branch 8 times, most recently from 595d6af to 07430bd Compare November 1, 2023 13:34
@hsinkoff hsinkoff force-pushed the ROLES-24-role_checks_to_permission_checks branch from 07430bd to 38a1721 Compare November 1, 2023 14:32
@hsinkoff hsinkoff merged this pull request into ROLES-2-course_roles_setup Nov 1, 2023
@hsinkoff hsinkoff deleted the ROLES-24-role_checks_to_permission_checks branch November 1, 2023 15:54
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