confuoco
Forum Replies Created
-
I may have actually found a solution. On lines 45 and 46 of user-roles.php, just before all the add_action’s and add_filter’s at the end of the init function there is the following code:
if( !current_user_can( 'manage_users' ) ) return;I changed ‘manage_users’ to ‘edit_users’ and everything started working (in that I now see the document role dropdown on the profile page).
There’s no reason to think I’d be inadvertently breaking some other part of the plugin by changing this, right?
Thanks again for the great plugin and for all your help.
I’m not seeing the document role dropdown. On the user profile page the Personal Options section (ending with the Admin Bar checkboxes you mentioned) is immediately followed by the Name section (username, etc.).
I’ve tried deactivating all of my other plugins besides the four Document Repository ones, no luck.
I’ve also checked the HTML output of the profile page (on the off-chance there was some kind of CSS conflict preventing the document role dropdown from being visible). The only related code I found is for the left admin sidebar.
It seems like I must be misunderstanding something simple, or am somehow not looking in the right place. Otherwise, is there anything you can think of that would cause the document role dropdown not to appear?
I should add that I’ve created 3 document roles: Staff, Member, and Public. I’m hoping to match these up permissions-wise with three Audiences of the same names.