• Resolved Eric Taylor

    (@erictaylor)


    I am trying to figure out if there is a way to setup a user as a Network Admin, but without making them a Super Admin.

    I don’t want this user to have access to most of the “Network Admin” menu items and operations, but I want the user to have the ability to login to any of the sites on the Network, and act as an Administrator for any site on the Network. Hence being able to add posts, edit posts, and help moderate sites on the Network.

    I’ve tried settings something up with the “Extended Super Admin” plugin, but the problem I have with that plugin is once activated, I seem to loose the default “Super Admin” ability of being able to login to any site on the Network. In fact, when I enable the plugin, I can’t login to my test modified “Super Admin” at all to any site. I get a “you don’t have permission to access this site”. Disable the plugin however and it works fine, but then they ahve access the Network options.

    Any help would be appreciated.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter Eric Taylor

    (@erictaylor)

    So I think that what I need is the “Extended Super Admin” plugin, I think it will do exactly what I need, if that is I can get it to work.

    When I setup a dummy super admin, and apply any set of privileges through Extended Super Admin, and add the dummy admin to the new group in extended super admin I find that when the user attempts a login I get the “You don’t have permission to view this site. Please contact the system administrator.” error. However, disable the plugin, or remove the dummy user from the new group, and the user logs in fine with the default super admin privileges.

    Very strange. I will look into this and see if I can try to figure out what might be causing the issue. I haven’t seen this kind of issue with the plugin before.

    Which permissions did you check off to be removed from the selected user? Did you, by any chance, remove the “read” capability or “level_0” from the user?

    Thread Starter Eric Taylor

    (@erictaylor)

    Thanks for looking into the issue.

    So I’ve tried several different things to troubleshoot the issue on my own. I have:

    1- Created several different test users and added them and removed them to the plugin group to see if the issue was specific to a user. Its not.

    2- I have removed the plugin settings, and the plugin, reset it all up several times with no success.

    And to answer your question specifically I gave the user all the permissions exempt the following:

    – Delete_themes
    – edit_plugins
    – install_plugins
    – install_themes
    – level_0,1,2,3,4,5,6,7,8,9 (but not 10, 10 is checked)
    – manage_esa_options
    – manage_network
    – manage_network_options
    – manage_network_plugins
    – manage_network_themes
    – manage_network_users
    – update_core
    – update_plugins
    – update_themes

    I have also tried giving the user pretty much all the permissions except level_0,1,2,3,4,5,6,7,8,9.

    This might be an issue, from what you said, So I’ll try adding level_0 to the group and report on if that changes anything.

    Also to note, I am working on a new theme at the moment, which is activated for the primary domain, currently the theme is blank, so it only have a blank index.php file, and a style.css file. So there is no call to wp_head or wp_footer. I have no clue if this would affect the plugin at all, but notable I guess.

    I’ll report back on trying to add level_0, and I’ll also switch the primary theme back to wordpress default and see what happens.

    Thread Starter Eric Taylor

    (@erictaylor)

    I’ve added level_0 to the permissions, has no effect. Still getting error.

    Also changed the theme back to twentyten, also no effect. I couldn’t imagine the plugin would make any sort of hook to the theme so that doesn’t surprise me, but I figure it was worth a try.

    Any other ideas?

    Thread Starter Eric Taylor

    (@erictaylor)

    Well now I feel like an idiot. This is what I get for working on this stuff at like 3am…

    So I reread

    Which permissions did you check off to be removed from the selected user?

    So the issue is I was checking options I wanted the user to have, and not checking items I didn’t want them to have. But now I can clearly see that its the opposite. I needed to check only the options I didn’t want them to have access too. Now it works fine.

    Sorry for my clear brain fart.

    No problem. Glad you were able to get it solved.

    Because of the way Super Admins work in WordPress, there’s no simply way to start from scratch and add permissions; which is why the plugin is set up to take away permissions from Super Admin users.

    I think I’ll make a slight modification to the next version of the plugin, bolding the word “Remove” in that label to hopefully help it stand out a little more.

    Thanks for your testing and your feedback. If you have any other issues with the plugin, let me know.

    Thread Starter Eric Taylor

    (@erictaylor)

    So I’m running into another issue and am hoping you can provide some insight.

    I use the “Maintenance Mode” plugin by Michael W?hrer pretty heavily. I’d like my (what I’m calling Network Moderators) Network Moderators to have access to viewing a sites front-end when the site is in maintenance mode to troubleshoot issues etc. I find that the default Super Admin privledges allow for this, however, when I enable the ESA plugin, those individuals under the Network Moderator group can’t view the front-end any longer. They get shown the 503 page stating the site is in maintenance mode etc.

    The maintenance mode plugin allows for you to change the settings of which user roles can login to backend and frontend. By default backend logins are allowed for Subscribers, and front-end Administrators.

    I’m hoping that maybe your plugin can build in some support for the Maintenance Mode plugin, or you can point me in the right direction to get the desired setup I need.

    Thanks again!

    Thread Starter Eric Taylor

    (@erictaylor)

    Andrea,

    Do either of these plugins allow for customizing the message and display of the “site-unavailable” message? Do they handle 503? Not finding any info like that on the plugin pages.

    EDIT:

    Looking at these plugins I don’t think these are exactly what I need. I don’t want guest users to be directed to the login page with a “this site can only be seen by administrators”. I want users to get displayed a page that I can customize to my liking, a 503 page of sorts. Meanwhile, admins could still login to the page, once logged in they would be displayed the normal front-end. Just like how the Maintenance Mode plugin works.

    Then why not build a custom theme wrapped in is_logged_in ?

    Or use one of the other plguins for theme testing that shows one theme (like a maintenance mode or launch pad page) to everyone else and another theme for users.

    Plenty of ways to do this.

    Thread Starter Eric Taylor

    (@erictaylor)

    Can you provide any examples of what you are talking about? ie plugins.

    https://www.ads-software.com/extend/plugins/theme-tester/

    For example.

    And for the “old” theme to show non users, put in something like this:

    https://www.ads-software.com/extend/themes/launchpad

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Network Admin, but Not Super Admin?’ is closed to new replies.