Title: Admin backend menu access for editor
Last modified: May 29, 2020

---

# Admin backend menu access for editor

 *  Resolved [helloimhere](https://wordpress.org/support/users/helloimhere/)
 * (@helloimhere)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/admin-backend-menu-access-for-editor/)
 * Hello,
 * My problem is the exact same thing as wrinten in the documentation “[How to manage WordPress backend menu](https://aamplugin.com/article/how-to-manage-wordpress-backend-menu)”:
 * > Scenario 1. Menu item has administrator capability assigned. This is quite 
   > common for a lot of custom menus and it means that user has to have the Administrator
   > role in order to get access to it.
   > If you do not want to assign an user to the Administrator role, then simply
   > create a custom capability administrator and make sure that it is checked for
   > desired role or user. This is not a recommended solution but rather a “hack”.
 * But after reading all the documentation about [creating policy](https://aamplugin.com/access-and-security-policy)
   and trying things for hours, I didn’t managed to make it work.
 * The thing is, I want the editor role to have access to the backend of the plugin
   but the menu need the administrator capacity.
 * My code :
 *     ```
       {
           "Version": "1.0.0",
           "Dependency": {
               "wordpress": ">=5.4.1",
               "advanced-access-manager": ">=6.5.2"
           },
           "Statement": [
               {
                   "Effect": "allow",
                   "Enforce": true,
                   "Resource": [
                       "BackendMenu:admin.php?page=calendarista-index",
                       "BackendMenu:admin.php?page=calendarista-sales",
                       "BackendMenu:admin.php?page=calendarista-appointments",
                       "BackendMenu:admin.php?page=calendarista-settings",
                       "BackendMenu:menu-calendarista-index",
                       "BackendMenu:menu-calendarista-sales",
                       "BackendMenu:menu-calendarista-appointments",
                       "BackendMenu:menu-calendarista-settings"
                   ],
                   "Action": [
                       "Role:editor",
                       "Capacity:administrator"
                   ]
               }
           ]
       }
       ```
   
 * I tried many different things, with URI or by changing the resources with the
   action but nothing works.
 * Plugin/Backend info :
    Name Services Capability administrator URI /wp-admin/calendarista-
   index ID calendarista-index
 * Please if someone can help me, it would be much appreciated.

Viewing 1 replies (of 1 total)

 *  Thread Starter [helloimhere](https://wordpress.org/support/users/helloimhere/)
 * (@helloimhere)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/admin-backend-menu-access-for-editor/#post-13382658)
 * Quick Update, I resolved my issue by just changing the plugin by another.

Viewing 1 replies (of 1 total)

The topic ‘Admin backend menu access for editor’ is closed to new replies.

 * ![](https://ps.w.org/advanced-access-manager/assets/icon-256x256.png?rev=3447421)
 * [Advanced Access Manager – Access Governance for WordPress](https://wordpress.org/plugins/advanced-access-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-access-manager/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [helloimhere](https://wordpress.org/support/users/helloimhere/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/admin-backend-menu-access-for-editor/#post-13382658)
 * Status: resolved