• tison_

    (@tison_)


    Hi team,

    First thank you for the amazing plugin! We have used on many projects so thank you for all your hard work ??

    The issue we are having:

    On the URE settings page has this option to check/uncheck:

    “Edit User Capabilities”

    In the past, we had unchecked this and it then removes the “Capabilities” link from the User’s edit page (in wp admin).

    But I don’t know how recently, but now it’s showing again.

    Is there any way to remove that again?

    Thank you for any help,

    T

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

    (@shinephp)

    Hi @tison_,

    “Edit User Capabilities” option at URE settings page from very begin has the purpose to allow/probit editing user capabilities checkboxes at the page, opened via ‘Capabilities’ link under selected user row at the “Users” page or via “Additional Capabilities->Capabilities->Edit” link at the user profile page.

    If you wish to hide full “Additional capabilities” section from user profile, you can use the ‘ure_show_additional_capabilities_section’ filter, just return FALSE from it.

    ‘Capabilities’ link under selected user row at the “Users” page is shown if current user can ‘ure_manage_options’ capabity’ or ‘manage_network_plugins’ (for WP multisite). There is no other way to hide it than revoke mentioned capabilities from user.

    Thread Starter tison_

    (@tison_)

    @shinephp,

    Late response here – Thank you for the detailed response. I added the following line which worked great!

    add_filter('ure_show_additional_capabilities_section','__return_false');

    The rest all makes sense. We are ok leaving the capabilities on the user list page (as our admins usually won’t use that functionality) so removing from the User Edit page just prevents accidental edits there.

    Thank you for the help and the great plugin!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Edit User Capabilities Unchecked but still showing on Admin User Edit page’ is closed to new replies.