feat: add platform glob scope support#38660
Conversation
|
Thanks for the pull request, @BryanttV! This repository is currently maintained by Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are ready for engineering review. 🔘 Get product approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:
🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. DetailsWhere can I find more information?If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources: When can I expect my changes to be merged?Our goal is to get community contributions seen and reviewed as efficiently as possible. However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
d723edb to
098c927
Compare
MaferMazu
left a comment
There was a problem hiding this comment.
Hello @BryanttV, thanks for this PR.
Regarding the functionality, this works as expected! ✅
I review it, and it looks good, just a small comment.
And to verify the test pass, we should use the hash of your last commit in openedx-authz (then you can change it again to v1.16.0).
799bee6 to
1c1cd49
Compare
1c1cd49 to
a0429c0
Compare
|
@MaferMazu, Thanks for the suggestion. I added a temporary commit to test the changes in |
Resolves: openedx/openedx-authz#268
Description
This PR adds support for a platform-wide scope (
PlatformCourseOverviewGlobData) when resolving AuthZ permissions in Studio, so users with global access can see all courses where the AuthZ course-authoring feature flag is enabled.Additionally, extends the course creation permission check (
course.create_courses) to accept both platform-wide and organization-scoped permissions.Related PRs
Testing instructions
Using Tutor:
authz.enable_course_authoringflag globally, or in the courses or organizations of your choice.openedx-authzendpoint ({{lms_domain}}/api/authz/v1/roles/users/)Deadline
None