Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #605

    It would be nice if I could restrict access to menu items by role.


    Thanks. I have this idea in the development plan and hope to offer such functionality to user of Pro version in 1-2 months.

    If you familiar with PHP you may realize it using customized code from these posts:


    Version 4.12 contains new Admin menu access module, which allows to block menu items for selected role


    Is there a similar way to block certain user groups from particular menu items in the front-end?

    For instance I have clients and co workers and want certain menu items such as “reports” not accessible by clients.

    Sure, I can limit the access to the page, but it would be even more reasonable that if a user hasn’t got access – they won’t see the menu option at all.

    Tom Townsend

    I am trying to figure out the best way to limit access to Job Manager by roles.


    I set up a recruiter role and allow them to only access the Job Manager plugin specific Menu Items:

    Add Job, Jobs , Applications, Emails and Interviews
    and the Media Browser …

    Senior Recruiter:

    Would have access to all the above as wells the Settings area where the could modify the templates.

    I don’t see how I can do this in Custom capabilities. I am sure it’s just my lack of understanding how to register that capability.

    IS there a tutorial somewhere you can point me to ?


    Tom Townsend

    Ok, figured it out – just need to look around the site for info.

    Found that if i use the Admin Menu I can clone an Admin User – Add a new role called Sr. Recruiter – then limit the access from there.



    Thanks, Tom.

    It’s quite right decision when you can not input changes into the plugin source code – plugin author does not agree to apply suggested changes, for example.

    As you take decisions yourself, you may take into account another model – use your own custom user capabilities to protect ‘Job Manager’ plugin menu items. For example, some times site owner may wish to give to the user access to the “Job Manager->Settings”, but he does not wish to give him access to the full “WordPress->Settings” menu. When plugins uses “manage_options” site owner should use URE Pro “Admin menu access” add-on or an alternative decision. If you use your own user capability, e.g. ‘job_man_manage_options’ it will simplifies the things. This way site owner will may manage access to this menu item directly via add/remove capability to the role.

    You need to add your own custom capabilities automatically to the “Administrator” role during plugin activation of course.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.