User, Role and Access Management¶
OroCommerce uses the hierarchy of roles to determine the levels of user access to data. In OroCommerce, user, role and access management capabilities can be tailored to reflect any specific administrative hierarchy, helping define access and permission settings for any business need.
This section describes in detail how to create and manage the elements of the administrative structure, such as users, user groups, organization, and business units, illustrates how to work with roles and permissions, and demonstrates how to configure access to data.
The hierarchy within the administrative structure is broken down into the user, user group, business unit and organization elements:
Users — The lowest element of the administrative structure. This is a person, a group of people or a third party system with a specific set of credentials (login and password). Any number of users can be created within one OroCommerce system.
User Groups — A group of users, created in consideration of an administrative structure or regardless of it (for example, all users born in February or all the users invited to a specific meeting). A user group may be used in the system as a single aggregating entity.
Business Units — A business unit groups users with similar business or administrative tasks or roles. Any number of users can be assigned to a business unit. One user can belong to several business units. Each business unit can also have child sub-units. A business unit that has child sub-units is their parent business unit. One parent business unit and its sub-units are jointly addressed as a division.
Organizations — The highest element of the administrative structure. It represents a real enterprise, a business, a firm, a company, or another organization to which users belong.
Several organizations can be created in one system in the OroCommerce Enterprise edition, and only one organization in the OroCommerce Community edition.
Check out the topics below for more information on each of the elements:
In OroCommerce, roles are the predefined set of permissions used to grant controlled access to the system data. After users are assigned a specific role that is typically based on job functions, they can manage information relevant to their job role. This is necessary to protect information, so that users are only given access to information they need to see, and not flooded with information that they do not need. This way, for example, the sales department can be restricted only to working with leads, the marketing department can only see and work with marketing lists and campaigns, while administrators can access all systems globally.
The ability of particular users to access data and perform actions in the system depends on several criteria:
- Roles assigned to the user
- Organizations and units to which the user has access
- The owner of particular data
The following topics describe the available access levels and explain the difference between them, illustrate how levels can be used, and explain how to configure the required ownership type. They also provide a detailed explanation of different types of permissions and the ownership types and illustrate how to create and manage new roles in the application:
- Introduction to Role Management
- Field Level Permissions
- Entity and System Capabilities
- Create and Manage Roles
- Blueprints of User Access Configuration
- End-to-end Access Configuration in Context