Skip to content
This repository has been archived by the owner on Sep 24, 2018. It is now read-only.

Add support for passing the role parameter to insert_user() method. #335 #392

Merged
merged 1 commit into from Aug 29, 2014

Conversation

pippinsplugins
Copy link
Contributor

Add support for passing the role parameter to insert_user() method.

This allows users to be created and/or updated with a specific role.

Fixes #335

@rmccue rmccue added this to the 1.2 milestone Aug 21, 2014
@rmccue
Copy link
Member

rmccue commented Aug 22, 2014

Hmm. Does this allow privilege escalation? If I have the ability to add new users, should I have the ability to give them any role I want?

cc @nacin

@danielbachhuber
Copy link
Member

If you can create users, there's no way to limit which roles you can assign

@rmccue
Copy link
Member

rmccue commented Aug 29, 2014

Cool, works for me.

rmccue added a commit that referenced this pull request Aug 29, 2014
Add support for passing the role parameter to insert_user() method. #335
@rmccue rmccue merged commit ccdec63 into master Aug 29, 2014
@rmccue rmccue deleted the set-role-with-user branch August 29, 2014 05:31
@rmccue rmccue self-assigned this Aug 29, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants