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

Allow Course Manager, Owner, Observer to duplicate entire course even if they are Normal users in Instances #7309

Conversation

bivanalhar
Copy link
Contributor

@bivanalhar bivanalhar commented May 3, 2024

Issue

Previously, course manager / owner can only duplicate objects from their course to other courses. While for duplicating the entire course, this manager needs to request being instance instructor or instance administrator. This creates the confusion as the said manager can actually access the page while not being given privilege for the entire operation inside that. Related to #7289

Features

Now, we allow the course manager, course owner, and course observer to be able to duplicate their entire course to other instance, with the notes that this person needs to be the instance admin or instance instructor on the destination instance.

Some features being kept

To access the duplication page, user needs to be either manager, owner, or observer of that course, regardless of their status in Coursemology (be it system admin, instance instructor or instance administrator)

- for duplicating course towards different instance
- provided that they are instance admin / instructor in the destination instance
@bivanalhar bivanalhar force-pushed the bivan/duplicate-permission-manager branch from d4d8f8c to 59fe318 Compare May 3, 2024 04:21
@ekowidianto ekowidianto changed the title Allow Course Manager, Owner, Observer to duplicate entire course even if they are Instance Normal Allow Course Manager, Owner, Observer to duplicate entire course even if they are Normal users in Instances May 8, 2024
@ekowidianto ekowidianto merged commit a629b24 into bivan/freeze-source-duplication May 8, 2024
11 of 12 checks passed
@ekowidianto ekowidianto deleted the bivan/duplicate-permission-manager branch May 8, 2024 01:27
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