How to manage access to AAM page for other users

Sometimes there is a need to give access to other, none-administrator, users to manage access to ceratin website resources. However you do not necessarily what to give them too many privileges like changing capabilities or creating new roles. In this article you will learn everything you need to know about managing access to AAM page.

Advanced Access Manager Customized

Prior to AAM 4.7 version, most of the access management to AAM functionality could be accomplished with ConfigPress configurations. The fact that we were getting a lot of questions about this subject matter, we made the decision to integrate this ability into the AAM core and since AAM 4.7 release, the access to AAM is based on the capabilities.

By default, access to AAM functionality is granted only to users that have administrator capability (technically only users with the Administrator role). This behavior can be modified with few simple steps.

= Step 1 =

The first step is to redefine the default access capability. Create custom capability aam_manager. Go to the Capabilities tab and on the top right corner hit + Create button. From this point only users with aam_manager capability checked, will have access to the AAM functionality. The aam_manager capability is enough to grand access to almost all functionality with few exceptions that we will mention below.

Please note! Make sure that you do not misspell aam_manager capability. “R” in the end!

= Step 2 =

The next step is to define what actually user can do within AAM page and below is the list of all available capabilities with detailed description.

When you grand access to any AAM feature, please make sure that you also grand access to manage either list of roles (aam_list_roles), users (list_users) or visitors (aam_manage_visitors). Otherwise AAM page will show nothing.

aam_manage_admin_menu
Grant access to the Admin Menu feature
aam_manage_metaboxes
Grant access to the Metaboxes & Widgets feature
aam_manage_capabilities
Grant access to the Capabilities feature. Note! It is most likely you would not want to give access to this feature
aam_manage_posts
Grant access to the Posts & Pages feature
aam_manage_access_denied_redirect
Grant access to the Access Denied Redirect feature
aam_manage_login_redirect
Grant access to the Login Redirect feature
aam_manage_logout_redirect
Grant access to the Logout Redirect feature
aam_manage_404_redirect
Grant access to the 404 Redirect feature. This feature is available only on the Default level for all users, roles and visitors.
aam_manage_settings
Grant access to the Settings feature
aam_manage_extensions
Grant access to the Extensions feature
aam_manage_ip_check
Grant access to manage IP Check. Available only with premium IP Check extension
aam_show_notifications
Show AAM Notification Panel if any reported
aam_list_roles
Allows user to see the list of roles
list_users
Allow user to see the list of users. Note! This is WordPress core capability.
aam_manage_visitors
Allow user to manage access for visitors
aam_manage_default
Allow user to manage default access to all users, roles and visitors. Note! It is not recommended to give access to this functionality as it may affect administrators
aam_create_roles
Allow user to create a new role
aam_edit_roles
Allows user to edit existing roles
aam_delete_roles
Allow user to delete existing roles. Note! By default, AAM does not allow to delete any existing role that has one or more users assigned to it
aam_toggle_users
Allow user to lock/unlock other users
aam_switch_users
Allow user to switch to other user

Please do not hesitate to contact us if you have any questions of suggestions. We are more than welcome to hear your feedback.

Get Development Package with all extensions included for unlimited number of sites

Learn More

Get the latest updates and promos.