HomeHome Product Discus... Product Discus...SmithCartSmithCartStore Admin sub modulesStore Admin sub modules
Previous
 
Next
New Post
5/10/2012 1:43 PM
 

Is there a way to have a page with only certain parts of the store admin module? I have several staff that need to be able to access the order management page but I do not want them in any of the store setup functions. It seems to be all or nothing...

 
New Post
5/10/2012 3:16 PM
 

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.
 
 

Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
5/11/2012 7:14 AM
 

Thank you, that is very helpful. 

 
New Post
5/11/2012 7:15 PM
 
Hi Scot,

Glad we could help! I'll go ahead and mark this thread as Resolved.

Thanks for your feedback!
 
New Post
6/6/2012 1:01 PM
 

Scott,

I just attempted this and have a problem. I followed the instructions but found that if I do not grant SCAdmin to a user, then the red store admin button does not appear when I grant permission to the other roles on the buynow page. There is not way to get to the authorized options without that button...but if I give SCAdmin, it shows but they have access to everything.

Thanks,

 

Scot

 
New Post
6/7/2012 5:00 PM
 

Hi Scot,

If you add the user to the SCViewAdminMenu role, they will be able to view the Store Admin Menu but only have access to the buttons you have assigned. If they click on a button which they have not been granted access to the will be presented with the following message: 

Access Denied. Please contact the store administrator for access to this function.

Thanks,

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartStore Admin sub modulesStore Admin sub modules