Forum Replies Created

Viewing 1 replies (of 1 total)
  • nottavi

    (@nottavi)

    Hi Arshid,

    We did as you suggested by changing manage_options by manage_cf7db and did in admin-mainpage.php:

    add_menu_page( 'Contact Forms', 'Contact Forms', 'manage_cf7db', 'cfdb7-list.php', array($this, 'list_table_page'), 'dashicons-list-view' );
    

    Then in another plugin on activate :

    $role = get_role("editor")
    $role->add_cap( "manage_cf7db" )

    The problem is now that if you publish an update of your plugin we will lose this change. Would it make sense to you to make the same modification in your plugin, allowing it to have more fine permissions settings ?

    Thanks
    Nicolas

    • This reply was modified 8 years ago by nottavi.
Viewing 1 replies (of 1 total)