HomeHome Product Discus... Product Discus...SmithCartSmithCartStore Admin rights for users w/ dnn role other than AdministratorStore Admin rights for users w/ dnn role other than Administrator
Previous
 
Next
New Post
3/30/2011 1:54 PM
 

Would it be possible to give Store Admin (Manage Orders, generate Reports, etc) rights to dnn users w/ roles other than Administrator?

For example we would like to setup users in the fulfillment warehouse rights to manage orders (Settle Credit Card, set Shipped Date, set Order Status to Shipped/Closed, update Pay Status in manual payment scenarios, etc) without also having full dnn site administration rights (so they cannot accidentally delete the store or other pages).

I've tried giving both page & module edit rights to users w/ this role and that allows them to view the Store Admin Main Menu page but when they click on any of the buttons (Manage Orders, etc) they get a javascript alert pop-up stating: "Access Denied."

We're using DNN version 05.06.00 (459) & Smith.BuyNow version 4.24.0

Any ideas?

 
New Post
3/30/2011 8:48 PM
 

The cart has the ability to grant button level permissions to dnn users.  The cart leverages the built in role capabilities of DNN to grant users access to one or more buttons on the store admin menu. 

The following DNN Roles are built in to Smith Cart to control button level permissions on the store admin menu:

  • SCAdmin - All Buttons
  • SCReports - Reports button
  • SCAddProducts - Add Products button
  • SCManageProducts - Manage Products button
  • SCManageCategories - Manage Categories button
  • SCManageManufacturers - Manufacturers button
  • SCManageOrders - Manage Orders button
  • SCManageCustomers - Manage Customers button
  • SCManagePayHist - Payment History button
  • SCManageShipping - Shipping button
  • SCManageCoupons - Manage Coupons button
  • SCManageDiscounts - Discounts button
  • SCCustomerReviews - Customer Reviews button
  • SCGiftCertificates - Gift Certificates button
  • SCManageCustomFields - Custom Fields button
  • SCProductMatrix - ProductMatrix button
  • SCProductLocalization - Localization
  • SCImportProducts - Import Products button
  • SCExportOrders - Export Orders button
  • SCUPSExport - UPSExport button
  • SCEndiciaExport - Endicia Export button
  • SCQuickBooksExport - QuickBooks Export button

By default all DNN Host and Administrators level accounts have access to all the buttons on 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.

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:

  1. Add the role group “Data Entry”
  2. Add the following Smith Cart roles:

i.  SCAddProducts

ii. SCManageProducts

iii. SCManageCategories

iv. SCManageManufacturers

  1. Add the Smith Cart roles to the “Data Entry” role group

1.      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.

2.      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 permission combinations.


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
3/31/2011 6:37 AM
 
I made your post into a HOWTO, Dave, in the Smith Cart Howto section.
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartStore Admin rights for users w/ dnn role other than AdministratorStore Admin rights for users w/ dnn role other than Administrator