WordPress.org

Ready to get started?Download WordPress

Forums

User Role Editor
Super admin elaborate request (2 posts)

  1. marikamitsos
    Member
    Posted 2 years ago #

    Hello Vladimir,
    I want to congratulate you for your excellent plugin.
    I have a multisite WordPress 3.2.1 with the latest or User Role Editor (URE) v3.2.1

    I have been using URE for the last eight months with great success on single WordPress installations. We had discussed about multisites some months ago, but I never got to test it until recently.
    What I have noticed is this: It is only the SuperAdmin that can add roles and capabilities to users. Capabilities cannot be subtracted from roles.

    Let me tell you my situation. On a particular site there are 2 Administrators. One of the admins is I who is also the SuperAdmin. The other one is my client, who was lately joined by another business associate. His new partner knows nothing about WordPress, insists on being an admin as well and we are afraid he is going to mess things up. So we created a new role called lightadmin and assigned it to him.
    So now on the users' screen everybody reads:
    All 20, Administrator 2, Editor 2, Author 15, lightadmin 1
    But we don't want that. They both have to appear as administrators. I mean the two of them have to be shown as equals.

    To solve this puzzle this is what I was thinking.
    Because we cannot subtract capabilities from the users, we cannot present him as admin with less capabilities. We can though add capabilities to the editor (as many as we like) thus making him lightadmin.
    Now, if we can -by default on URE activation- give the SuperAdmin (who is the only one accessing the capabilities screen anyway) an extra capability (with is_super_admn) of being the only one who can see the "real" added new roles, while everybody else see the upgraded name of the custom role to the higher default role, the problem would be solved. Let me show you what I mean.

    In our case:
    What a SuperAdmin sees on the user's screen is:
    All 20, Administrator 2, Editor 2, Author 15, lightadmin 1
    What everybody else, including the admins, will see on their screens is:
    All 20, Administrator 3, Editor 2, Author 15

    In a different scenario when we also "upgrade" an Author, the SuperAdmin wii see:
    All 20, Administrator 2, Editor 2, Author 14, lightadmin 1, lightauthor 1
    What everybody else, including the admins, will see on their screens is:
    All 20, Administrator 3, Editor 2, Author 15

    To refine the whole thing and bring everything back to "normal view", there can be a checkbox (next to "Apply to All Sites") saying "Show added roles to SuperAdmins only"
    If unchecked everybody will see:
    All 20, Administrator 2, Editor 2, Author 14, lightadmin 1, lightauthor 1

    I know this is looong but hope it makes sense.
    Do you think you can give it a thought?

    Thank you once more for your excellent work and time.

    http://wordpress.org/extend/plugins/user-role-editor/

  2. marikamitsos
    Member
    Posted 2 years ago #

    [UPDATE] Come to think of it, I guess the idea for my proposed extra capability solution, sprang to my mind when I was reading how Chris Grymala solved his puzzle for his brilliant Extended Super Admins plugin.

    Please have a look. Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic