• Resolved delahoc

    (@delahoc)


    I have a site where I’ve given the client limited access to the back-end (specifically, I’ve given them an Editor account). Some of the content they want to be able to edit includes the emails that get sent out to members through the Ultimate Member plugin. As an Editor, they can’t see the Ultimate Member admin menu, so they can’t access these emails to edit them.

    I’ve installed User Role Editor, and have modified their permissions to give them all access to posts and users, but there doesn’t seem to be anything specific or custom that I can give them to provide access to just the UM menu – I don’t want to give them manage_options because I don’t want them to break the site.

    Is there a workaround for this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @delahoc

    Unfortunately, there’s no filter hook to modify the user capabilities when generating the UM Admin Menus.

    The only way to make it available for Editor is to copy the codes in the files below and modify the capabilities for the primary and sub-menus in a custom plugin or theme’s function.php file.

    You can check how we implemented the UM Admin Menus in the following files:
    /ultimate-member/includes/admin/class-admin-menu.php
    /ultimate-member/includes/admin/class-admin-settings.php

    Regards,

    • This reply was modified 3 years, 11 months ago by Champ Camba.
    Thread Starter delahoc

    (@delahoc)

    Thanks for that.

    Yes, I had already hacked the admin-settings file you mentioned above and achieved what I needed that way. But I see that as a hack, not an elegant solution. I was looking for something a bit cleaner.

    Thanks anyway.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hey there!

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. ??

    Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Provide access to UM admin menu’ is closed to new replies.