on ‎2021 Jan 29 5:22 PM
Are there any best practices for suggestions on how to specify certain Promotions Rule Conditions or Actions can only be used by members of certain usergroups? So for example some promotion users could create promotions using one set of allowed conditions and actions and a different set of promotion users would be able to create promotions with a different set of allowed conditions and actions. We have been able to use impex to customize which RuleConditionDefinition and RuleActionDefinition are available for use when creating promotions but we have not seen a provided way to customize those based on usergroups.
Request clarification before answering.
You may achieve this by using Restrictions in Flexible Search. (https://help.sap.com/viewer/d0224eca81e249cb821f2cdf45a82ace/2011/en-US/8c428f8286691014970ceee87aa01605.html)
You can define a Restriction for RuleConditionDefinition or RuleActionDefinition and specific user group which restricts conditions. This may be done without any implementation but for adding or removing definitions will need changing query in the restriction and thus someone who knows should be done it carefully. Because wrong query in restriction may broke Backoffice for user group.
For more configurable way of doing this you can define a relationship between user groups and available conditions / parameters. By doing this way, restriction should be defined once for a super group of promotion user groups and available conditions / parameters can be configured via Back office easily.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Mansur for your suggestions - this was very helpful.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.