Smith Cart leverages the built in role capabilities of DNN to grant users access to one or more buttons on the store admin menu.
By default all DNN Host and Administrators level accounts have access to all the buttons on the store admin menu. However, in most cases users that are tasked with managing the store will not have DNN Host or Administrator level permissions. To handle this scenario DNN roles are used which willallow you to grant button level permissions to the store admin menu.
Granting Permissions to All Store Admin buttons – SCAdmin Role
1. Navigate to the DNN Admin - > Security Roles menu option
2. Select “Add New Role”
3. Enter the role name “SCAdmin” and click update
4. Navigate to the DNN Admin - > User Roles menu option
5. Assign the “SCAdmin” role to your desired user
6. Go to your BuyNow module settings “Permissions” section
In the permission section of the module settings check the “Edit” checkbox for the SCAdmin role.
Click the update button and the bottom of the screen to save the new permissions. The user that you have designated to manage your store will now have permissions to all buttons on the store admin menu but will not have access to DNN admin functions.
Granting Permissions to a single Store Admin button
To grant user access to a single button on the store admin menu the same steps described above for adding roles and permissions should be followed but instead of using the “SCAdmin” role you would use the role corresponding to the store admin button.
For a full list of DNN roles Smith Cart uses to control button level permissions on the store admin menu please see the cart user guide smith-consulting.com/Portals/0/docs/smithshoppingcartmanual.pdf section titled "Setting permissions on the Store Admin Menu" on page 83.
Granting Permissions to groups of Store Admin buttons
To grant user access to several buttons on the store admin menu you need to setup DNN Role Groups. DNN Role Groups simply act as containers for groups of individual Smith Cart button roles.
For example, to grant access to a data entry person (Mary) to enter products in the store follow these steps:
1. From the DNN Admin menu create a new user “Mary”
2. From the DNN Security Roles menu:
- Add the role group “Data Entry”
- Add the following Smith Cart roles: (SCAddProducts, SCManageProducts, SCManageCategories, SCManageManufacturers)
- Add the Smith Cart roles to the “Data Entry” role group
3. Go to your BuyNow module settings “Permissions” section. In the permission section of the module settings check the “Edit” checkbox for the “Data Entry” role.
4. Click update to save
Mary will now have access to only the Add Products, Manage Products, Manage Categories and Manage Manufacturers buttons on the Store Admin Menu.
The concept above using DNN Role Groups along with Smith Cart button roles can be used to create an unlimited number of role groups with different button level permissions.