×

 

Home Contact Us Payments SC Commerce SC Commerce Docs SC Commerce Snippets

Simply Computing

We make websites. Simple.

Roles and Capabilities

SC Commerce registers two user roles once activated, and grants additional capabilities to the Admin:

  • manage_woocommerce for SC Commerce Settings
  • view_woocommerce_reports

Customer role

People become Customers when registering via the checkout or sign-up process.

Customers:

  • Have read access only for most capacities. This is the equivalent status to a normal blog subscriber.
  • Can edit their own account information.
  • View past/present orders.

Shop Manager role

Shop Manager is a role you can give someone to manage the shop without making them an Admin. They have all the rights a customer has, and are granted the main capabilities:

  • manage_woocommerce: Gives shop managers the option to manage all settings within SC Commerce, and create/edit products.
  • view_woocommerce_reports: Gives them access to all SC Commerce reports.

The Shop Manager role are assigned the following capabilities.

'level_9'                => true,
'level_8'                => true,
'level_7'                => true,
'level_6'                => true,
'level_5'                => true,
'level_4'                => true,
'level_3'                => true,
'level_2'                => true,
'level_1'                => true,
'level_0'                => true,
'read'                   => true,
'read_private_pages'     => true,
'read_private_posts'     => true,
'edit_posts'             => true,
'edit_pages'             => true,
'edit_published_posts'   => true,
'edit_published_pages'   => true,
'edit_private_pages'     => true,
'edit_private_posts'     => true,
'edit_others_posts'      => true,
'edit_others_pages'      => true,
'publish_posts'          => true,
'publish_pages'          => true,
'delete_posts'           => true,
'delete_pages'           => true,
'delete_private_pages'   => true,
'delete_private_posts'   => true,
'delete_published_pages' => true,
'delete_published_posts' => true,
'delete_others_posts'    => true,
'delete_others_pages'    => true,
'manage_categories'      => true,
'manage_links'           => true,
'moderate_comments'      => true,
'upload_files'           => true,
'export'                 => true,
'import'                 => true,
'list_users'             => true,
'edit_theme_options'     => true

They also have general CMS editor capabilities.


Tweaking capabilities

If you wish to modify roles and capabilities, you can use a third-party plugin