Skip to content

New course creator group. - #266

Merged
cahrens merged 5 commits into
masterfrom
christina/course-create-permissions
Jun 26, 2013
Merged

New course creator group.#266
cahrens merged 5 commits into
masterfrom
christina/course-create-permissions

Conversation

@cahrens

@cahrens cahrens commented Jun 25, 2013

Copy link
Copy Markdown

I put this in behind a feature flag so it will have no impact initially (as the creator group is empty).

Also added some test coverage for lines I touched while refactoring.

@ghost ghost assigned chrisndodge Jun 25, 2013
Comment thread cms/djangoapps/auth/authz.py Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. I think we are missing some permission assertions. If this function can be called from a webapp, the interactive user (aka Mark) needs to be authenticated and authorized to add/remove people from the COURSE_CREATOR_GROUP_NAME.

I wonder if we need to assert that caller.is_staff = True here (as well as on the corresponding 'add' method)

@chrisndodge

Copy link
Copy Markdown
Contributor

+1 besides that one comment. Also need rebase.

cahrens pushed a commit that referenced this pull request Jun 26, 2013
@cahrens
cahrens merged commit c5851d3 into master Jun 26, 2013
chrisrossi pushed a commit to jazkarta/edx-platform that referenced this pull request Mar 31, 2014
Kelketek referenced this pull request in open-craft/openedx-platform Oct 21, 2014
CrewS pushed a commit to CrewS/edx-platform-1 that referenced this pull request Jan 18, 2019
Let user register before enroll
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