• Resolved tnightingale

    (@tnightingale)


    I’d like to use the new user manual approval feature but it has to be accessible to other roles besides admin (e.g. Editor, Contributor). I am not finding any AIOS capabilities listed using the URE plugin. Is there a way to give access to the user approval screen to other roles?

Viewing 1 replies (of 1 total)
  • Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @tnightingale

    Only apply access for manual approval screen for editor , contributor seems not possible right now.

    You may provide access to the WP Security related all menu items using filter

    aiowps_management_capability which is right now current_user_can manage_options

    only users having the capability to manage_options ( Administrator ) are allowed to see menu items.

    $cap = apply_filters('aios_management_permission', 'manage_options');
    // This filter will useful when the administrator would like to give permission to access AIOWPS to Security Analyst.
    return apply_filters('aiowps_management_capability', current_user_can($cap));

    Regards

Viewing 1 replies (of 1 total)
  • The topic ‘Let roles other than admin access the user approval screen?’ is closed to new replies.