• growe

    (@growe)


    I have created a new custom role which now has access to custom capabilities that are used by my plugin. If I add that role as an additional role to the administrator, the administrator gains permission to the new custom capabilities but looses permissions to other capabilities it had before. Example… The admin can not delete users when it has the additional custom role but it can when the additional role is not added.

    https://ww.wp.xz.cn/plugins/user-role-editor/

Viewing 1 replies (of 1 total)
  • Plugin Author Vladimir Garagulya

    (@shinephp)

    I can not repeat a described issue. Look this short video:
    http://storage.googleapis.com/role-editor/downloads/support/admin-with-other-roles.ogv

    I created custom role “Gravity Forms Admin” with capabilities from the “Gravity Forms” plugin. I assigned to the test user “Administrator” role as a primary one and “Gravity Forms Admin” as additional role. Then I logged in under that “Test admin” user and deleted other user without problem.

    Have you any additional information which may help to repeat your problem?

Viewing 1 replies (of 1 total)

The topic ‘Custom Role overrides default capabilities’ is closed to new replies.