| User | Post |
|
11:02 pm May 10, 2011
| mgason
Member
| | | |
|
| posts 6 |
|
|
Hi,
I have successfully setup a user and restricted access, except for 2 items. (I used Capabilities Manager as well, in that the only "User" capability they have is "List")
1. I can not figure out how to hide role scoper for that user, which kind of defeats the whole purpose as they can just change the settings. I must be missing something really obvious I think?
2. At the bottom of their list of capabilities it says " Additional Capabilities gform_full_access" Is there a way to hide gravity forms? It does not get any special mention in either management plugin.
Thanks Mark
|
|
|
8:34 am May 11, 2011
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
1. If you are referring to the "Roles" and "Restrictions" menu items for posts, pages, etc, the presence of those menus does not mean the user can modify all RS settings/assignments. But you can hide them via Roles > Options > Role Assignment.
2. Role Scoper does not provide any special provisions for hiding Gravity Forms. Your mention of this makes me suspect that the user in question has other Administrator capabilities such as "activate_plugins", "edit_users" and "manage_options", and that's why they have administration over Role Scoper settings. If that needs to be the case but you still want to keep them out of RS settings, you will need to define custom administrator capabilities for RS. See Roles > Options > Advanced > Administrator Definition.
|
|
|
1:16 am May 12, 2011
| mgason
Member
| | | |
|
| posts 6 |
|
|
Hi,
I hid roles like you said "But you can hide them via Roles > Options > Role Assignment."
I checked my user, they have all the page/post editing options, no plugin access (plugin menu is gone), Appearance shows Menu only, no widget access. No other plugins options menu appears and I have quite a lot. Gravity Forms menu is still there.
Main Wordpress menu reads from top to bottom..
Post, Media, Links, Pages, Comments, Slides, FORMS (full form creation menu), Appearance (Menus only), Users (list only), tools
I checked capability manager these are the settings
|
|
|
9:09 am May 12, 2011
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
Did you check your user's profile to make sure they have the role "Anne"?
What unwanted Role Scoper UI are they seeing?
What did you set Roles > Options > Role Assignment to?
|
|
|
1:44 am May 13, 2011
| mgason
Member
| | | |
|
| posts 6 |
|
|
Sorry it was late and I realize I was unclear. The role scoper is successfully hidden for Anne, your instructions were great.
My problem is that "gravity forms" menu still appears for Anne. It is the only plugin menu that does still appear.
While I am asking questions is there a way to make a specific plugin available to a user?
thanks for the excellent support
Mark
|
|
|
5:34 am May 13, 2011
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
It sounds like that user has been assigned a custom capability of "gform_full_access". This is a capability assigned directly to the user, not to any role. This type of user access customization has been on the bubble for elimination for a long time, and neither WordPress nor any actively maintained role editing plugins I know of even provide a mechanism to assign or remove them.
If Gravity Forms itself does not provide a way to remove a DB-stored custom user capability, you can use Role Manager. That plugin puts an "Assign extra capabilites" section at the bottom of the normal "Edit User" form.
On the other hand, I'm not familiar with how Gravity Forms applies capabilities and it's possible that the extra user capability is applied in memory by Gravity Forms code. In that case, you would need to take this up with GF support.
Finally, you might have some custom code (outside the Gravity Forms plugin) actively adding the "gform_full_access" capability for that user.
|
|
|
10:26 pm May 15, 2011
| mgason
Member
| | | |
|
| posts 6 |
|
|
Hi,
I am posting my solution in case anyone else should have an issue with Gravity Forms. The solution really has nothing to do with Role Scoper which is awesome by the way.
I simply changed my base Role Manager to the "Members" plugin, this gave me about a dozen levels of control over my Gravity Forms. My user can now read form entries in the database, read notes, and export entries, nothing else. Works great. I am of course still using Role Scoper on top of that.
Role Scoper is the only plugin I have found that allows granting menu edit access without also granting the power to change themes etc!
thanks for all of your advice, great prompt support. I also posted this at Gravity Forms forum.
Mark
|
|