Support » Plugin: Advanced Access Manager » Lost acces to manager.

  • Resolved Eberton Moraes

    (@eberton-moraes)


    Hello 🙂
    I have lost the main user of WP, now i cant acces the manager from others users, can help-me?

    I have try to add manually a users roles in my functions.php nut the menu of Advanced acces manager dont show.

    $result = add_role(
        'super_admin',
        __( 'Basic Contributor' ),
        array(
    'manage_sites'         => true,
    'manage_network_users'         => true,
    'manage_network_themes'         => true,
    'manage_network_options'         => true,
    'unfiltered_html'         => true,
    'activate_plugins'         => true,
    'create_users'         => true,
    'delete_plugins'         => true,
    'delete_themes'         => true,
    'delete_users'         => true,
    'edit_files'         => true,
    'edit_plugins'         => true,
    'edit_theme_options'         => true,
    'edit_themes'         => true,
    'edit_users'         => true,
    'export'         => true,
    'import'         => true,
    'install_plugins'         => true,
    'install_themes'         => true,
    'list_users'         => true,
    'manage_options'         => true,
    'promote_users'         => true,
    'remove_users'         => true,
    'switch_themes'         => true,
    'update_core'         => true,
    'update_plugins'         => true,
    'update_themes'         => true,
    'edit_dashboard'         => true,
    'moderate_comments'         => true,
    'manage_categories'         => true,
    'manage_links'         => true,
    'edit_others_posts'         => true,
    'edit_pages'         => true,
    'edit_others_pages'         => true,
    'edit_published_pages'         => true,
    'publish_pages'         => true,
    'delete_pages'         => true,
    'delete_others_pages'         => true,
    'delete_published_pages'         => true,
    'delete_others_posts'         => true,
    'delete_private_posts'         => true,
    'edit_private_posts'         => true,
    'read_private_posts'         => true,
    'delete_private_pages'         => true,
    'edit_private_pages'         => true,
    'read_private_pages'         => true,
    'edit_published_posts'         => true,
    'upload_files'         => true,
    'create_product'         => true,
    'publish_posts'         => true,
    'delete_published_posts'         => true,
    'edit_posts'         => true,
    'level_10'         => true,
    'level_9'         => true,
    'level_8'         => true,
    'level_7'         => true,
    'level_6'         => true,
    'level_5'         => true,
    'level_4'         => true,
    'level_3'         => true,
    'level_2'         => true,
    'level_1'         => true,
    'read'         => true
        )
    );

    http://wordpress.org/plugins/advanced-access-manager/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Vasyl Martyniuk

    (@vasyl_m)

    Hi Eberton Moraes,
    Try to add one more capability: ‘AAM Manage‘.

    Regards,
    Vasyl

    Hello,
    I have try add “‘aam_manager’=> true” and “‘AAM Manage’=> true”

    But no sucess. :/ Any idea?

    Plugin Author Vasyl Martyniuk

    (@vasyl_m)

    Well, you just missed. Should be aam_manage

    Dont worked 🙁

    $result = add_role(
        'basic_contributor',
        __( 'Basic Contributor' ),
        array(
    	'manage_sites'         => true,
    	'manage_network_users'         => true,
    	'manage_network_themes'         => true,
    	'manage_network_options'         => true,
    	'unfiltered_html'         => true,
    	'activate_plugins'         => true,
    	'create_users'         => true,
    	'delete_plugins'         => true,
    	'delete_themes'         => true,
    	'delete_users'         => true,
    	'edit_files'         => true,
    	'edit_plugins'         => true,
    	'edit_theme_options'         => true,
    	'edit_themes'         => true,
    	'edit_users'         => true,
    	'export'         => true,
    	'import'         => true,
    	'install_plugins'         => true,
    	'install_themes'         => true,
    	'list_users'         => true,
    	'manage_options'         => true,
    	'promote_users'         => true,
    	'remove_users'         => true,
    	'switch_themes'         => true,
    	'update_core'         => true,
    	'update_plugins'         => true,
    	'update_themes'         => true,
    	'edit_dashboard'         => true,
    	'moderate_comments'         => true,
    	'manage_categories'         => true,
    	'manage_links'         => true,
    	'edit_others_posts'         => true,
    	'edit_pages'         => true,
    	'edit_others_pages'         => true,
    	'edit_published_pages'         => true,
    	'publish_pages'         => true,
    	'delete_pages'         => true,
    	'delete_others_pages'         => true,
    	'delete_published_pages'         => true,
    	'delete_others_posts'         => true,
    	'delete_private_posts'         => true,
    	'edit_private_posts'         => true,
    	'read_private_posts'         => true,
    	'delete_private_pages'         => true,
    	'edit_private_pages'         => true,
    	'read_private_pages'         => true,
    	'edit_published_posts'         => true,
    	'upload_files'         => true,
    	'create_product'         => true,
    	'publish_posts'         => true,
    	'delete_published_posts'         => true,
    	'edit_posts'         => true,
    	'level_10'         => true,
    	'level_9'         => true,
    	'level_8'         => true,
    	'level_7'         => true,
    	'level_6'         => true,
    	'level_5'         => true,
    	'level_4'         => true,
    	'level_3'         => true,
    	'level_2'         => true,
    	'level_1'         => true,
    	'read'         => true,
    	'aam_manage'         => true
        )
    );
    if ( null !== $result ) {
        echo 'Yay! New role created!';
    }
    else {
        echo 'Oh... the basic_contributor role already exists.';
    }

    Have show the sucess message ‘Yay! New role created!’, but i cant change the roles of users.

    Can help-me please?

    Plugin Author Vasyl Martyniuk

    (@vasyl_m)

    Hi Eberton,
    Did you try the latest AAM version? There is no longer extra capabilities for AAM.

    Regards,
    Vasyl

    hello, I am editing a website in wordpress and lost access to Administrator. :/

    Plugin Author Vasyl Martyniuk

    (@vasyl_m)

    Hi edercapoia,
    Check this topic: http://wpaam.com/forum/viewtopic.php?f=7&t=3

    Regards,
    Vasyl

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Lost acces to manager.’ is closed to new replies.