Change WordPress user roles and capabilities Forums Bug Reports New Role will not retain the ‘manage options’ setting

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #7261
    mereagency
    Participant

    Every time I set this ‘manage options’ capability for my ‘Site Manager’ roles, it revokes as soon as I refresh the page. What’s strange is when I log in as the site manager in a different browser, the permissions are there for one page load, and then they reset.

    Site: studio.mere.site (theme demo)

    #7264
    Vladimir
    Keymaster

    Is ‘Site Manager’ role created by some plugin? I suppose the situation when that plugin recreates this role every time its loaded.
    What if you add ‘manage_options’ to any other role? Will it stay there?
    If Yes, use workaround – assign role with ‘manage_options’ to the user with ‘Site Manager’ role as the 2nd one.

    #7286
    mereagency
    Participant

    Hi Vladimir,
    Site Manager is a role I created in User Role Editor. But the plugin SEOPress seems to be revoking manage_options every time it is activated.

    #7289
    Vladimir
    Keymaster

    Hi,

    I can not repeat this.
    I tested SEOPress from wordpress.org and it did not remove ‘manage_options’ from my custom roles. I searched from its source code and did not find any commands related to ‘manage_options’ deletion.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.