Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

What are the capabilities that a super-administrator has that an administrator does not have?

The codex page on user capabilities does not have a list of capabilities of the super-admin. It lists only the capabilities of the administrator.

share|improve this question
add comment

3 Answers

up vote 1 down vote accepted

The super_admin has access to all admininstrator APIs and also the multi-site functions. If you go to the codex page, it will say so: http://codex.wordpress.org/Roles_and_Capabilities#Capability_vs._Role_Table

You can find the multisite functions here: http://codex.wordpress.org/Function_Reference#Multisite_functions

If you want to do a more fine-grain investigation of what it can call, I suggest you get familiar with the WP code. The funtion you should grep for is_super_admin

Hope this helps.

share|improve this answer
add comment

" I'd like to know which capabilities (like edit_posts, delete_posts) does the super_admin has the admin doesn't have. "

Install plugins & themes, upgrade the site. Admins in a network can't do this.

I swear the codex has this listed somewhere...

Programmatically, if you're looking to check for this, just use an if is_super_admin, not a has_cap.

share|improve this answer
add comment

The super admin owns the installation and can do absolutely everything. The admin owns the actual site (or rather, blog...).

The two are the same on single site installs. On multisite installs, the admin cannot do a couple of things that relate to the filesystem, e.g. install/upgrade/delete themes and plugins, to site management, e.g. view all sites or change site options, and to user management, e.g. he can add and remove existing users to his sites but not create or delete them...

share|improve this answer
    
I understand the functionality of super-admin. I meant from the API perspective. I'd like to know which capabilities (like edit_posts, delete_posts) does the super_admin has the admin doesn't have. –  rsman Dec 3 '10 at 4:20
    
From the WP code base standpoint, the usernames of super admins are stored in a setting, and the check against those usernames is done before checking for caps. –  Denis Dec 3 '10 at 18:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.