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

Added adminRole property and functionality #231

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

Conversation

pcorey
Copy link

@pcorey pcorey commented Jul 9, 2015

When being used as a drop-in admin panel, sometimes the existing system isn't using the normal admin role to identify administrators. In my case, Admin was being used, but it's feasible that other roles could be used as well.

This PR adds a adminRole option to the AdminConfig. If it is set, that string is used as the "admin role" in the system. If it's not set, it defaults to admin.

I updated the docs as well.

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.

1 participant