-
Notifications
You must be signed in to change notification settings - Fork 4.2k
[BB-3622] Add course creation condition for organisation #26616
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
Merged
kdmccormick
merged 50 commits into
openedx:master
from
open-craft:farhaan/bb-3622-restrict-user-create-course-upstream
Sep 10, 2021
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
d9171bb
Add course creation condition for organisation
farhaanbukhsh 82a14f5
Add org field in the course creator
farhaanbukhsh 0a4b4dd
Add support for org roles
farhaanbukhsh e8a62db
Added roles
farhaanbukhsh 8b77010
Add all_organization field
farhaanbukhsh 68c79b1
Added logic for creating organizational role and update the course
farhaanbukhsh 1787792
Added checks for easy creation and deletion of roles
farhaanbukhsh 0de9d06
Revert "Add course creation condition for organisation"
farhaanbukhsh 083350b
Fix styling issues
farhaanbukhsh e518990
Fix tests
farhaanbukhsh b9d9351
Fix pep8 issues
farhaanbukhsh 619bf11
Add migrations for course_creators
farhaanbukhsh 4cb11f7
Fixed comments
farhaanbukhsh ff64875
Add test for OrgContentCreatorRole
farhaanbukhsh 56ea1a0
Refactor the permissions to be in course.py
farhaanbukhsh b99e3d2
Pep8 fixes
farhaanbukhsh 8aa432b
Fix auth permissions and imports
farhaanbukhsh 21cc756
Add test for view course creator
farhaanbukhsh 1cb58e1
Add test for course creation
farhaanbukhsh a1956d6
Updated migrations file
farhaanbukhsh c83d1a8
Fixed messages in migration
farhaanbukhsh 333ceb7
Imporved validation form
farhaanbukhsh 4ea3008
Update the callback funtion name
farhaanbukhsh af27c09
Refactored update org role function
farhaanbukhsh 148fe1e
Introduce logic to handle change in status
farhaanbukhsh 7bbe298
Rename update org role function
farhaanbukhsh 9d5de83
Add user message to show exception
farhaanbukhsh b2799f1
Pep8 fixes
farhaanbukhsh 83b87e5
Fix pylint errors
farhaanbukhsh 3a028a1
Fix typo
farhaanbukhsh 70d0458
Improved message on admin and model column
farhaanbukhsh cf1471a
Removed lint warning and added better error message
farhaanbukhsh e638e73
Fix typo in test
farhaanbukhsh bd5b1f3
Add more test to check the orgs
farhaanbukhsh 53cfac8
Updated the comment
farhaanbukhsh 1206167
Improved code organization
farhaanbukhsh 8a8f22a
Add library restriction permission
farhaanbukhsh 48dcdf3
Fixing tests
farhaanbukhsh bebf252
Fix linting issues
farhaanbukhsh 5594201
Fix lint issues
farhaanbukhsh 6b1b7e5
Added org check for get_course_creator_status
farhaanbukhsh 272914b
Refactor to move the fucntion to a central place.
farhaanbukhsh b5b0501
Remove unused import
farhaanbukhsh 7adb7e3
Pep8 fix
farhaanbukhsh 862e860
Removed unwanted flag
farhaanbukhsh 5bbd5cb
Fixed tests
farhaanbukhsh 9fe9cff
Refined the logic and revert the course creator role
farhaanbukhsh 8d90dcb
Renamed the functions and fix tests
farhaanbukhsh ffd29a9
Rename the get_library_creator_status function
farhaanbukhsh 07ea7da
Remove unused permissions
farhaanbukhsh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.