You can create different user roles in Shopware 6 with different levels of access. You can give your employees complete control over your Shopware admin or assign them specific responsibilities by designing administrator roles that are only responsible for certain tasks.
To Create User Roles in Shopware 6
Login to the admin panel and go to Settings > System > Users & Permissions > Roles.
On the Roles section, click on the “Create role” button to create your first user role.
In the General section, fill out the required fields.
Basic information
- Name:- Enter the name of the User.
- Description:- Enter the description of the role.
Permissions
In this section, you can assign the role’s permission. You can give access by clicking on the View, Edit, Create, Delete, and All checkbox fields in the relevant area.
- Catalogues:- Categories, Dynamic product groups, Landing pages, Manufactures, Products, and Properties.
- Content:- Media, Shopping Experiences, Themes.
- Customers: Customers.
- Marketing:- Newsletter recipients; Promotions.
- Orders:- Orders.
- Other:- Sales Channels
- Settings:- Countries, Currencies, Custom fields, Customer groups, Delivery times, Documents, Email templates, Essential characteristics, Flow Builder, Integrations, Languages, Number ranges, Payment methods, Rule builder, Salutations, Scale units, Search, Shipping, Snippets, Tags, Tax, User & permissions.
You can select the user permissions for this role. You need to define the permissions role has or does not have in each of the areas.
- View:- If you assign this option, the user can only see the area’s configurations.
- Edit:- A user can only edit the area’s configuration by enabling this option. But the user cannot add or delete the new products.
- Create-: With this option, the user can create products, but it does not allow them to be deleted.
- Delete:- The user can delete the items from the database, such as products.
- All:- By enabling this option, the user has complete access to the specific area.
Additional permissions
These general authorizations cannot be directly assigned to a specific area and include permissions that are applicable across different areas. In such cases, editing rights can be granted universally without distinguishing between viewing, editing, creating, and deleting rights.
- Settings
- Basic configuration:- This permission allows the user to modify the fundamental configurations within the Shopware Administration, specifically in the “Settings > Shop” section.
- Run updates:- On Settings > System, allows the user to install the update.
- Manage extensions:- This permission allows the user to access all the settings under Extension > My Extension. He can install, uninstall, activate, or deactivate the extensions.
- Upload extensions:- With this permission, the user can upload the extensions under the Extension > My Extension.
- Event logs:- This permission allows the user to access the shopware and system logs under Settings>System>Logging.
- Clear cache:- With this option, users can access all settings under Settings>System>Cahes & Indexes.
- Import/Export:- By allowing this option, the user can import and export data under Settings>Shop>Import/Export. Users can create and remove new import/export profiles as well.
- Shopware Store:- Users with this permission can access the store by going to Extensions > Store.
- User
- Update own profile:- Only if a user has this right, he can make changes in his own profile in the bottom left corner of the menu.
- Orders
- Create credit items:- This right allows the creation of voucher items in the orders module. User can create a new voucher item in the product section by opening the existing order there and clicking on Edit.
In the Detailed Privileges section
Configure privileges in detail. All deactivated checkboxes are permissions that have already been assigned in the “General” tab and are not configurable. This configuration is only necessary if e.g. extensions are used that add new datasets but do not have privileges, these can be configured here.
The detailed permission configuration view is used only in specific situations where a more granular level of control is needed. For example, when extensions are employed in the system, which creates new records but fails to assign privileges for them, they can be manually configured in this view. Any checkboxes that appear greyed out represent permissions that have already been assigned in the “General” tab.
In this section, all permissions and their corresponding technical names are listed. Similar to area permissions, individual rights such as read, write, create, and delete can be assigned to each function.
After you configure all the tabs, click on the Save button to save user roles.
Please contact us at manish@bay20.com or call us at +91-8800519180 for any support related to shopware. You can also visit the Shopware 6 development page to check the services we offer.