Example: Permitting both coupon administrators and Operations Managers to create coupon promotions
By default, coupon administrators for a store can create coupon promotions for their store. In some cases, you might want to grant this authority to Operations Managers as well.
The flexible design of access control policies offers several methods for implementing this change:
- You can add the Operations Manager role to the access group for the policy that specifies who can create coupon promotions.
- You can create a new policy that permits Operations Managers to create coupon promotions.
This example illustrates the first approach. It shows you how to add the Operations Manager role to the resource-level policy that authorizes coupon administrators to create coupons.
To make this change, you need to do the following:
- Determine the resource-level policy that specifies who can create coupon promotions.
- Change the policy's access group to include users with the Operations Manager role.
- View the resource-level policy's action group to identify the command for creating coupon promotions.
- Determine the role-based policy for an Operations Manager. This policy defines the commands that users with the Operations Manager role can execute. You must update this policy's resource group to permit coupon administrators to execute the commands for creating coupon promotions.
- Update this role-based policy's resource group to include the command for creating coupon promotions.
Identify the action group and access group for the resource-level policy
- Identify the resource-level policy to be changed. The policy is:
CouponAdministratorsForOrgExecuteCouponPromotionCreateCommands OnStoreEntityResource
Related reference
Examples: Customizing access control policies using the Organization Administration Console