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

Adduser #18

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Adduser #18

wants to merge 3 commits into from

Conversation

PKuebler
Copy link

@PKuebler PKuebler commented Nov 4, 2014

Build the "registerAction" to, so that they can also be used for admins to create users.

PKuebler and others added 2 commits November 4, 2014 11:26
With the change in the "Action registers", this can also be used for an admin menu.
@jasongrimes
Copy link
Owner

Hi Philipp,

Thanks for this contribution, I like the idea.

The EDIT_USER privilege isn't intended to be used this way, though--it takes a User instance as an argument, to test whether the viewer can edit that User. I'm not sure what happens otherwise, but I suspect it's not what you intend.

I think you may want to replace EDIT_USER with ROLE_ADMIN instead.

Jason

@PKuebler
Copy link
Author

Hey Jason,

i changed it!

Philipp

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