WordPress.org

Ready to get started?Download WordPress

Forums

Coaching Staffs
[resolved] Change permission (3 posts)

  1. zakbald
    Member
    Posted 9 months ago #

    Hi Mark!
    Thank you for your great work!
    Coaching Staff is the only one of your plugins
    that need the role of "administrator" to be managed.
    I need to allow the editor to edit and add coachs.
    How can I do it?
    Thank you in advance.
    Zak

    http://wordpress.org/plugins/coaching-staffs/

  2. Mark O'Donnell
    Member
    Plugin Author

    Posted 9 months ago #

    Hi Zak,
    Glad to hear you are enjoying the plugins.

    The fix is easy enough. Three statements need to be changed in includes/mstw-coaching-staffs-admin.php.

    Search for mstw_cs_register_menu_pages and change 'manage-options' to 'edit-posts' in the add_menu_page() and add_submenu_page() calls. In my trunk they are lines 471, 481, and 489.

    Let me know how that works out.

    -Mark

  3. zakbald
    Member
    Posted 9 months ago #

    Thank you Mark!
    It works!
    Just a little thing: in 'manage_options' and 'edit_post' there is "_", not "-".
    Thank you again.
    Zak

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.