Change WordPress user roles and capabilities › Forums › Bug Reports › Additional Capabilities: Other Roles Not working
- This topic has 17 replies, 2 voices, and was last updated 7 years, 8 months ago by misterfifi.
-
AuthorPosts
-
13/02/2017 at 14:59 #3343misterfifiParticipant
Hi,
I created 2 roles, 1 to see only the category C++ the other one only JAVA. For some userI want to see both, but when I add an other role nothing happen…
Could you help me?
Regards,
14/02/2017 at 03:35 #3345VladimirKeymasterHi,
Just retested ‘Content view restrictions’ add-on: user with 2 roles can view together posts with category 1 allowed for the 1st role and posts with category 2 allowed for the 2nd role.
14/02/2017 at 04:21 #3347VladimirKeymasterThe same result I got for the ‘Edit posts restrictions’ add-on: When user was granted 2 roles, where 1st is allowed to edit 1 category, but 2nd is allowed to edit 2 category only, such user is allowed to edit (see at the Posts list) posts from the both categories simultaneously.
Re-check your settings for roles and user and show screenshot if a problem will stay unresolved.
14/02/2017 at 07:53 #3350misterfifiParticipantHi,
Sorry, but when I add a new role in the user’s profile, nothing happen… I can’t find the new Role, and of course I chan’t have the new permissions.
Where can I find: ‘Edit posts restrictions’?
Regards,
14/02/2017 at 07:59 #3351VladimirKeymasterCheck browser JavaScript console if it has any JavaScript errors. It’s possible that jQuery doesn’t work correctly at user profile for that reason.
As a workaround you can assign a second role to the user via “Capabilities” link under that user at the users list or if you click “Edit” link to the right from the “Capabilities” label.
14/02/2017 at 08:01 #3352VladimirKeymaster“Edit posts restrictions” – “Activate user access management to editing selected posts/pages” at the “Content editing restrictions section”:
14/02/2017 at 08:11 #3353misterfifiParticipantI tried the workaround with the same result.
I checked and I can’t find any JQuery error.
By default, I am trying to add a new role with this menu:
14/02/2017 at 08:18 #3354VladimirKeymasterTry to deactivate all plugins except User Role Editor to isolate a conflicting one.
I may take a look on-line if you send admin credentials to support [at-sign] role-editor.com
14/02/2017 at 08:34 #3355misterfifiParticipantI can’t send the credentials sorry.
I seems to work only if I add the “Editor” Role. Do you have any clue?
14/02/2017 at 11:17 #3356VladimirKeymasterI suppose a conflict with some other plugin. Try to deactivate all other plugins temporally. Will it help? Then activate them back one by one to isolate a conflicting code.
Then I will try to repeat your issue testing URE with that plugin together.14/02/2017 at 14:40 #3357misterfifiParticipantI have exactly the same issue without any other activated plugins.
14/02/2017 at 14:53 #3358VladimirKeymaster1) Try with default WordPress 2017 theme, as theme code may be involved too.
If it will not isolate conflict,
2) Setup development copy of your site to which you can give me admin access. I will search a reason of this problem myself.14/02/2017 at 14:58 #3359misterfifiParticipantI deactivated all plugins and the theme but it is the same
I have another issue if I set the permissions as presented below, why I couldn’t see the home page:
14/02/2017 at 15:14 #3360misterfifiParticipantHi,
I solved the homage issue by adding categories on pages with: Category Tag Pages
but I have the same issue when I try to combine 2 profiles.
14/02/2017 at 15:28 #3361misterfifiParticipantit works if I add the role directly in the database, from:
a:1:{s:14:”java interview”;b:1}
to:
a:2:{s:14:”java interview”;b:1;s:12:”qa interview”;b:1;}
otherwise I have no frontend/jquery issue…
-
AuthorPosts
- You must be logged in to reply to this topic.