Viewing 8 replies - 16 through 23 (of 23 total)
  • This is exactly what I am trying to accomplish. I need to allow a user to add news items to a new ticker that I have installed using the Ditty News Ticker plugin. Unfortunately, I can’t find the ID number as you have mentioned in this discussion.

    Are you able to help me in anyway?

    Plugin Author Vladimir Garagulya

    (@shinephp)

    Ditty News Ticker plugin uses built-in WordPress ‘edit_posts’ capability to protect access to its tickers.

    Hi, I′m using the Email Suscriber Plugin (https://www.ads-software.com/plugins/email-subscribers/) and I can′t give permission to other users than the administrator.

    I tried to create new capabilities with no results and also tried to create a new role as an exact copy of the administrator and it say that the new role has no permissions to open the plugin.

    I will appreciate your help.

    Thank you very much and sorry if I made any grammar mistake, Im not an english native.

    Plugin Author Vladimir Garagulya

    (@shinephp)

    To @gutesan: Plugin “Email Subscriber” uses “administrator” role as capability which protects every its menu item.

    It is possible to use a workaround – add to the role a capability with id “administrator”. But use it on your own risk! I’m not sure that it could not have any sudden negative sequence for security.

    Or just edit “Email Subscriber” code directly, and replace ‘administrator’ with some other user capability. It is a function es_adminmenu() in a classes/es-register.php file, line #73.

    Because Name Already Exists

    (@because-name-already-exists)

    I’m interesting in this discussion, I have found this arguments from Ultimate Responsive Image Slider plugins, is all of this arguments can be added as Capability ID? :

    'show_ui' => true,
    			'show_in_menu' => true,
    			'show_in_nav_menus' => false,
    			'publicly_queryable' => false,
    			'exclude_from_search' => true,
    			'has_archive' => true,
    			'query_var' => true,
    			'can_export' => true,
    			'rewrite' => false,
    			'capability_type' => 'post'
    Plugin Author Vladimir Garagulya

    (@shinephp)

    The only argument from above list which is related to the user capabilities is ‘capability_type’. Its value ‘post’ means that this post type should use the built-in post capabilities set, like ‘edit_posts’, ‘edit_published_posts’, etc. Those capabilities are exists already.

    Because Name Already Exists

    (@because-name-already-exists)

    Thank you for fast response, This is great plugins and very handy I like capability to adding, edit, delete custom roles.

    Actually I have looking for option to only disabled this plugins capability for specific user roles, so users still can post / edit their post but not the image slider.

    Plugin Author Vladimir Garagulya

    (@shinephp)

    Admin menu access add-on to the Pro version of User Role Editor may help:
    https://www.role-editor.com/block-admin-menu-items

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘User Role Editor=>how to add a capability not listed?’ is closed to new replies.