Skip to content

Commit 8592fca

Browse files
committed
docs: adds new condition type Umb.Condition.CurrentUser.GroupId
1 parent 199e4e2 commit 8592fca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

15/umbraco-cms/customizing/extending-overview/extension-conditions.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ When declaring multiple conditions all of them must be permitted for the extensi
3838
The following conditions are available out of the box, for all extension types that support Conditions.
3939

4040
* `Umb.Condition.Switch` - Toggles on and off based on the `frequency` set in seconds.
41-
* `Umb.Condition.MultipleAppLanguages` - Requires the app to have more than one language, i.e. a multi-language site.
41+
* `Umb.Condition.MultipleAppLanguages` - Requires the app to have more than one language, that is a multi-language site.
4242
* `Umb.Condition.SectionAlias` - Requires the current Section Alias to match the one specified.
4343
* `Umb.Condition.MenuAlias` - Requires the current Menu Alias to match the one specified.
4444
* `Umb.Condition.WorkspaceAlias` - Requires the current Workspace Alias to match the one specified.
@@ -51,7 +51,8 @@ The following conditions are available out of the box, for all extension types t
5151
* `Umb.Condition.EntityIsNotTrashed` - Requires the current entity to not be trashed.
5252
* `Umb.Condition.SectionUserPermission` - Requires the current user to have permissions to the given Section Alias.
5353
* `Umb.Condition.UserPermission.Document` - Requires the current user to have specific Document permissions. Example: 'Umb.Document.Save'.
54-
* `Umb.Condition.CurrentUser.IsAdmin` - Requires the current user to be an admin as defined by the backend, i.e. belongs to the Administrator group.
54+
* `Umb.Condition.CurrentUser.GroupId` - Requires the current user to belong to a specific group by GUID. Accepts **match** (GUID), **oneOf** (array), **allOf** (array), and **noneOf** (array). Example: '8d2b3c4d-4f1f-4b1f-8e3d-4a6b7b8c4f1e'.
55+
* `Umb.Condition.CurrentUser.IsAdmin` - Requires the current user to be an admin as defined by the backend, for example that they belong to the Administrator group.
5556

5657
## Condition Configuration
5758

0 commit comments

Comments
 (0)