Skip to content

Added adminRole property and functionality - #231

Open
pcorey wants to merge 14 commits into
yogiben:masterfrom
pcorey:master
Open

Added adminRole property and functionality#231
pcorey wants to merge 14 commits into
yogiben:masterfrom
pcorey:master

Conversation

@pcorey

@pcorey pcorey commented Jul 9, 2015

Copy link
Copy Markdown

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