Change WordPress user roles and capabilities Forums Bug Reports Additional Capabilities: Other Roles Not working

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #3343
    misterfifi
    Participant

    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,

    #3345
    Vladimir
    Keymaster

    Hi,

    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.

    #3347
    Vladimir
    Keymaster

    The 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.

    #3350
    misterfifi
    Participant

    Hi,

    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’?

    https://misterfifi.box.com/shared/static/p9pmv7jexkjjje2yktvf3b4p5jui1aqb.png

    Regards,

    #3351
    Vladimir
    Keymaster

    Check 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.

    #3352
    Vladimir
    Keymaster

    “Edit posts restrictions” – “Activate user access management to editing selected posts/pages” at the “Content editing restrictions section”:

    Allow user to edit selected posts and pages only

    #3353
    misterfifi
    Participant

    I 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:
    https://misterfifi.box.com/shared/static/k6io09iu4fk9p0euy45ju0g0p0sqau5d.png

    #3354
    Vladimir
    Keymaster

    Try 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

    #3355
    misterfifi
    Participant

    I can’t send the credentials sorry.

    I seems to work only if I add the “Editor” Role. Do you have any clue?

    #3356
    Vladimir
    Keymaster

    I 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.

    #3357
    misterfifi
    Participant

    I have exactly the same issue without any other activated plugins.

    #3358
    Vladimir
    Keymaster

    1) 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.

    #3359
    misterfifi
    Participant

    I 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:

    http://www.hostingpics.net/viewer.php?id=136086ScreenShot20170214at155659.png

    http://www.hostingpics.net/viewer.php?id=393686ScreenShot20170214at155647.png

    http://www.hostingpics.net/viewer.php?id=641549ScreenShot20170214at155533.png

    #3360
    misterfifi
    Participant

    Hi,

    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.

    #3361
    misterfifi
    Participant

    it 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…

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