Skip to content

Commit fc20a9e

Browse files
authored
Adds more default conditions
1 parent 18a895a commit fc20a9e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ When declaring multiple conditions all of them must be permitted for the extensi
3737

3838
The following conditions are available out of the box, for all extension types that support Conditions.
3939

40+
* `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.
4042
* `Umb.Condition.SectionAlias` - Requires the current Section Alias to match the one specified.
4143
* `Umb.Condition.MenuAlias` - Requires the current Menu Alias to match the one specified.
4244
* `Umb.Condition.WorkspaceAlias` - Requires the current Workspace Alias to match the one specified.
@@ -48,7 +50,8 @@ The following conditions are available out of the box, for all extension types t
4850
* `Umb.Condition.EntityIsTrashed` - Requires the current entity to be trashed.
4951
* `Umb.Condition.EntityIsNotTrashed` - Requires the current entity to not be trashed.
5052
* `Umb.Condition.SectionUserPermission` - Requires the current user to have permissions to the given Section Alias.
51-
* `Umb.Condition.UserPermission.Document` - Requires the current user to have specific Document permissions. Example: 'Umb.Document.Save'
53+
* `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.
5255

5356
## Condition Configuration
5457

0 commit comments

Comments
 (0)