Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Make $amp_default_role case insensitive #29

Open
adelphi-company opened this issue Dec 15, 2020 · 0 comments
Open

Make $amp_default_role case insensitive #29

adelphi-company opened this issue Dec 15, 2020 · 0 comments

Comments

@adelphi-company
Copy link

adelphi-company commented Dec 15, 2020

Took me a while to figure out why it did not work at my site, so might be useful to others:

Works:
$amp_default_role = "Editor";

Doesn't work (Error: "Require permissions to show admin interface."):
$amp_default_role = "editor";

Even if it's lower case in:

$amp_role_assignment = array(
  'administrator' => array(
    'your_username',
  ),
  '**editor**' => array(
    'your_close_friend',
  ),
  'contributor' => array(
    'your_other_friend',
  ),
);
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants