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

Only course creators should be permitted to create new beta Content Libraries #35943

Closed
ormsbee opened this issue Dec 2, 2024 · 0 comments
Closed
Labels
bug Report of or fix for something that isn't working as intended release testing Affects the upcoming release (attention needed)

Comments

@ormsbee
Copy link
Contributor

ormsbee commented Dec 2, 2024

Only people who can create courses should be allowed to create new content libraries. Right now, any active user can do so:

# Is the user allowed to create content libraries?
CAN_CREATE_CONTENT_LIBRARY = 'content_libraries.create_library'
perms[CAN_CREATE_CONTENT_LIBRARY] = is_user_active

We should be looking at course_creators. Related to this, only people who have explicit permissions or who are course_creators(or global staff) should be able to view publicly accessible content libraries.

The ENABLE_CREATOR_GROUP setting is True by default:

# If set to True, new Studio users won't be able to author courses unless
# an Open edX admin has added them to the course creator group.
'ENABLE_CREATOR_GROUP': True,

Acceptance criteria:

  1. When ENABLE_CREATOR_GROUP is False, only global staff may create new content libraries.
  2. When ENABLE_CREATOR_GROUP is True, people in the course creator group can create content libraries, along with global staff. Other users may not create libraries.

We need to get this fixed before the Sumac release is tagged.

@ormsbee ormsbee added the bug Report of or fix for something that isn't working as intended label Dec 2, 2024
@ormsbee ormsbee moved this to Backlog in Libraries Overhaul Dec 2, 2024
@crathbun428 crathbun428 added the release testing Affects the upcoming release (attention needed) label Dec 3, 2024
@ormsbee ormsbee moved this from Done to In progress in Build-Test-Release Working Group Dec 6, 2024
@ormsbee ormsbee moved this from Backlog to In Progress in Libraries Overhaul Dec 6, 2024
@ormsbee ormsbee moved this from In progress to Done in Build-Test-Release Working Group Dec 6, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Libraries Overhaul Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Report of or fix for something that isn't working as intended release testing Affects the upcoming release (attention needed)
Projects
Status: Done
Development

No branches or pull requests

3 participants