Roles and Capabilities in WordPress: Difference between revisions

From SWCP Support Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 3: Line 3:
WordPress does this with a system that is actually quite generic. From a standard installation
WordPress does this with a system that is actually quite generic. From a standard installation
you get these roles:
you get these roles:
   Admin
   '''Admin
   Editor
   Editor
   Author
   Author
   Contributor
   Contributor
   Subscriber
   Subscriber
   and of course non-logged in consumers of your website.
   and of course non-logged in consumers of your website.'''


This system can be extended to many other authorization schemes, such as a Members Only
This system can be extended to many other authorization schemes, such as a Members Only
Line 23: Line 23:
! Capability !! Admin !! Editor !! Author !! Contributor !! Subscriber  
! Capability !! Admin !! Editor !! Author !! Contributor !! Subscriber  
|-
|-
! Add/Edit/Delete Plugins
! align="right" Add/Edit/Delete Plugins
| '''X''' || || || ||
| '''X''' || || || ||
|-
|-
! Add/Edit/Delete Users
! align="right" Add/Edit/Delete Users
| '''X''' || || || ||
| '''X''' || || || ||
|-
|-
! Add/Edit/Delete Themes
! align="right" Add/Edit/Delete Themes
| '''X''' || || || ||
| '''X''' || || || ||
|-
|-
! Import/Export
! align="right" Import/Export
| '''X''' || || || ||  
| '''X''' || || || ||  
|-
|-

Revision as of 17:51, 19 June 2013

One of the wonderful things about WordPress is the ability to have different levels of people all working on the web site. This is done by setting users with different levels of authorization. WordPress does this with a system that is actually quite generic. From a standard installation you get these roles:

  Admin
  Editor
  Author
  Contributor
  Subscriber
  and of course non-logged in consumers of your website.

This system can be extended to many other authorization schemes, such as a Members Only Section, Paid Subscription Content, special subwebsites for individuals to create pages, different groups of people collaborating on content independent of one another.

These roles are actually made up of capabilities. So a subscriber role has capabilities of Can Read Posts and Can edit Profile. The following is chart of capabilities assigned to the standard roles.

Standard Roles
Capability Admin Editor Author Contributor Subscriber
align="right" Add/Edit/Delete Plugins X
align="right" Add/Edit/Delete Users X
align="right" Add/Edit/Delete Themes X
align="right" Import/Export X
Install Updates X
Manage Comments X X
Manage Categories/Tags X X
Manage Links X X
Edit Any Post/Page X X
Publish/Delete Any Post/Page X X
Read/Edit Private Post/Page X X
Edit Own Published Posts X X X