Wednesday, November 18, 2015

Granting access to uCommerce to users in Sitecore

In a default installation, only administrators will have access to uCommerce in Sitecore. There is some setup that will need to be completed to give relevant users access to use/administer the system. This will be achieved by using custom sitecore group(s), and as with any group you can be granular with the access rights (for example one group may only be able to edit products whilst another has full access to purchase orders etc.).

In this example, one group will have access to all features of uCommerce.

Initial steps

  1. First you will need to create a Sitecore group, this can be done via the role manager. I have callued my group uCommerce on the Sitecore domain. 


  2. Now we need to give the group read access on the uCommerce application shortcuts (the one on the launchpad, content editor and desktop).
    1. Load up the Sitecore desktop and set the context to the core database.


    2. Go to the content editor,
      1. There are three items that the uCommerce group will need read access to: "/sitecore/content/Documents and settings/All users/Start menu/Left/uCommerce","/sitecore/client/Applications/Launchpad/PageSettings/Buttons/ContentEditing/uCommerce", and "/sitecore/content/Applications/uCommerce"
      2. This can be done via Assign on the security ribbon


Now that the group is created and has permission to see the uCommerce application, we can use the uCommerce settings to control access at a feature level.

Assigning uCommerce permissions

  1. As a Sitecore admin, load up the uCommerce application
  2. Under Settings > Security > Groups, select the group you wish to grant access to (in this case sitecore\uCommerce)
  3. From the right hand side, select the uCommerce functions you want the users to be able to perform


Now any user that is a member of the group will have access to load the uCommerce application and perform the desired functions. In a real world scenario you would have different groups for different functions (simple product editors vs those with access to purchase orders).

No comments:

Post a Comment