Develop > Controller layer > Application developer > Member subsystem


Member subsystem roles

WebSphere Commerce defines a default set of roles that govern what a user is allowed to access in the system. In the access control system, policies are typically set up so that each role has access to a specified set of actions, such as executing commands and views or displaying data beans.

Roles can be assigned to users and organizational entities.

Role assignment data is stored in the MBRROLE table.

The WebSphere Commerce system provides a default set of roles for the following groups:

Registered Customer role is a special role that customers receive in the store's organization when they register. Use MemberRegistrationAttributes.xml to configure what other roles are assigned to users during registration and what roles are assigned to new organizations.

By default, only users with specific roles are authorized to perform role assignment,...

Every user in the Member subsystem has an attribute called RegisterType, which can have one of the following values:

RegisterType Description
S User has been assigned the Site Administrator role.
A User has been assigned certain roles within the Seller organization, such as Operations Manager, Customer Service Representative, or Seller Administrator.

A default implicit member group called Administrators is shipped with WebSphere Commerce with the preceding list of roles defined as criteria.

During role assignment and unassignment, if the role being assigned or unassigned is an administrative role, the value of RegisterType will be set accordingly to maintain consistency.

R Registered customer. A customer who has registered and provided WebSphere Commerce with some profile data.
G Guest customer. A customer who has not registered.

Important: The values of 'S' and 'A' are role-related while the values of 'R' and 'G' are related to whether the user has registered. Although 'S' and 'A' are supported as valid values for RegisterType, they are deprecated and separated from RegisterType and are values of a different attribute. Consequently, code should not be written to depend on 'S' or 'A' being the value of the RegisterType attribute. If code needs to be written to examine the role or registration type of a user, such code should be replaced by access control policies or written to use appropriate APIs instead.

All roles are defined in the ROLE table, and are automatically assigned to the Root Organization. The MBRROLE table contain role assignment information for users and organizational entities. In addition, the MBRGRP and MBRGRPCOND database tables store other role related information.


Related concepts

Member subsystem

Users

Membership hierarchy

Roles

Related reference

Member subsystem URLs


+

Search Tips   |   Advanced Search