• Hi All,
    I want to extend the Editor role. I am using CBX Multi-Criteria Flexible Rating System and want that Editor can manage the rating form and rating review also (everything von cbx rating). How can I set this?
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Vladimir Garagulya

    (@shinephp)

    It would be possible to grant access to this plugin somebody except admin just after editing this plugin files or contacting plugin author in order he change user permissions he use to protect this plugin menu.

    This plugin uses ‘administrator’ role ID directly at the menu definition code instead of some user capability (4th parameter):

    
    lass.CBRatingSystemAdmin.php:35:        $ratingactiontop     = add_menu_page(CB_RATINGSYSTEM_PLUGIN_NAME . ' Main', CB_RATINGSYSTEM_PLUGIN_NAME, 'administrator', 'rating', array('CBRatingSystemAdminDashboard', 'build_admin_dashboard'), plugins_url('images/admin_icon/rating-home-16.png', __FILE__));
    class.CBRatingSystemAdmin.php:36:        $ratingactionform    = add_submenu_page('rating', __(CB_RATINGSYSTEM_PLUGIN_NAME . ' Main'), __('Rating Forms', 'cbratingsystem'), 'administrator', 'ratingform', array('CBRatingSystemAdmin', 'admin_ratingForm_listing_page'));
    class.CBRatingSystemAdmin.php:37:        $ratingactionformnew = add_submenu_page('rating', __(CB_RATINGSYSTEM_PLUGIN_NAME . ' Main'), __('Add New Form', 'cbratingsystem'), 'administrator', 'ratingformedit', array('CBRatingSystemAdmin', 'admin_ratingForm_listing_page_add'));
    class.CBRatingSystemAdmin.php:39:        $ratingactionuserlog = add_submenu_page('rating', __(CB_RATINGSYSTEM_PLUGIN_NAME . ' Main'), __('User Rating Logs', 'cbratingsystem'), 'administrator', 'rating_reports', array('CBRatingSystemAdmin', 'admin_rating_reports_page'));
    class.CBRatingSystemAdmin.php:43:        $ratingactionavglog  = add_submenu_page('rating', __(CB_RATINGSYSTEM_PLUGIN_NAME . ' Main'), __('Rating Average', 'cbratingsystem'), 'administrator', 'rating_avg_reports', array('CBRatingSystemAdmin', 'admin_rating_average_reports_page'));
    class.CBRatingSystemAdmin.php:48:        $ratingactiontheme   = add_submenu_page('rating', __(CB_RATINGSYSTEM_PLUGIN_NAME . ' Main'), __('Themes', 'cbratingsystem'), 'administrator', 'ratingform_theme', array('CBRatingSystemTheme', 'admin_ratingForm_theme_settings'));
    class.CBRatingSystemAdmin.php:49:        $ratingtool          = add_submenu_page('rating', __(CB_RATINGSYSTEM_PLUGIN_NAME . ' Main'), __('Tools', 'cbratingsystem'), 'administrator', 'rating_tool', array('CBRatingSystemTool', 'admin_ratingForm_tool_settings'));
    
    Thread Starter masjmh

    (@masjmh)

    Hi Vladimir,
    Thanks. Do you have any idea how to change it for editor also. I mean I want to give access to editor and admin also.

    • This reply was modified 6 years, 6 months ago by masjmh.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Extend role of Editor’ is closed to new replies.