OpenCart Access Management: Set User Roles and Permissions
Managing an online store can be quite the task for just one person to handle, especially when the business is growing. In order to successfully organize workflow, you may find it necessary to cooperate with many people and delegate certain responsibilities to them. It is a good idea to control activity of each person involved in store handling, determining the required role and access rights.
This is being fulfilled via OpenCart users and permissions functionality of Store Manager for OpenCart. In this tutorial, we will walk you through setting up roles and granting necessary access rights for corresponding user accounts in the application.
Let’s start with a basic introduction to OpenCart users and permissions and find out how to turn on OpenCart access management functionality, available in the latest version of Store Manager application.
Enable OpenCart Access Management
In order to create a new user with different accessing and modifying permissions to Store Manager’s features, Access Management should be enabled. The functionality can be accessed by clicking small padlock button in application's upper left corner.
After clicking ‘Users and Permissions’ you will get a notification that by enabling this feature, the application will create additional database tables, used to store info on new accounts and rights assigned to them. This is just a notification and those tables will not affect your current data. Press ‘Yes’ to permit the operation.
Now you are ready for setting up users and roles. It is recommended to start from the roles, as various employees may share the same permissions.
Add OpenCart User Roles
In ‘Roles’ section there are two important entities - positions (role names) and permissions to be selected. By default, you will see listed one Administrator role with full-access permissions granted.
To extend roles list you need to:
- Add new role clicking [+] button.
- The following page will be open, where you can give a proper name for newly created role.
- Uncheck ‘Administrator rights’ box to see full list of permissions available for selection.
- There you can ascribe or limit access to certain sections of the application. Moreover, you can make it possible just to view some sections, rather than make modifications in them.
Once you’ve determined the adequate level of access for the new role you are creating, navigate to ‘Users’ tab.
Create User and Associate a Role to Him/Her
Now let’s quickly create a new user and assign our newly created role to that user.
- Clicking ‘Add’ button will bring you to the user form below.
- Press OK to save new user. And you will see new account saved in the list.
Aside from the username, a password must be created for the user to login to Store Manager. Do not forget to apply user role you have created previously.
Now your employee can access the store with his/her credentials, having the required permissions to perform his/her job.
Change OpenCart User
To change the user in Store Manager, you just need to log out of current account and then log in with this new user.
Now you will see only sections allowed for that user.
In order to disable Access Management in Store Manager for OpenCart, press ‘Remove Protection’ button.
Now when you have seen how easily configurable Access Management is, you can try enabling and setting up users and roles in Store Manager for an unlimited number of employees.