You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `1` | "Only own logs" | Current user can only access their own activity log entries. |
43
43
44
-
## CartOwner limitation
44
+
## Cart Owner limitation
45
45
46
-
The `CartOwner` limitation specifies whether the user can modify a cart.
46
+
The Cart Owner `CartOwner` limitation specifies whether the user can modify a cart.
47
47
48
48
### Possible values
49
49
@@ -62,6 +62,16 @@ The Change Owner (`ChangeOwner`) limitation specifies whether the user can chang
62
62
|------|------|------|
63
63
|`1`|"Forbid"|The user cannot change owner of a content item|
64
64
65
+
## Discount Owner limitation [[% include 'snippets/lts-update_badge.md' %]] [[% include 'snippets/commerce_badge.md' %]]
66
+
67
+
The Discount Owner [`DiscountOwner`] limitation specifies whether the user can interact with a [discount](discounts.md).
68
+
69
+
### Possible values
70
+
71
+
|Value|UI value|Description|
72
+
|------|------|------|
73
+
|"self"|"self"|Only the user who is the owner of the discount gets access.|
74
+
65
75
## Content type Group limitation
66
76
67
77
The Content Type Group (`UserGroup`) limitation specifies that only users with at least one common *direct* user group with the owner of content get the selected access right.
#### Discounts [[% include 'snippets/lts-update_badge.md' %]][[% include 'snippets/commerce_badge.md' %]]
128
+
129
+
The discount policies decide which actions can be executed by given user or user group.
130
+
131
+
!!! caution "Customers and discount policies"
132
+
133
+
Customers do not need any policies to use the discounts on the [storefront](storefront.md).
134
+
Even the `discount/view` policy would allow them to access all the discount details, including the coupon codes to activate them, which could lead to system abuse.
135
+
136
+
137
+
| Module | Function | Effect | Possible limitations |
0 commit comments