diff --git a/src/Umbraco.Web.UI.Client/src/packages/user/user/entity-actions/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/user/user/entity-actions/manifests.ts index a8200fddfc..087a863c7d 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/user/user/entity-actions/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/user/user/entity-actions/manifests.ts @@ -19,6 +19,9 @@ const entityActions: Array = [ itemRepositoryAlias: UMB_USER_ITEM_REPOSITORY_ALIAS, }, conditions: [ + { + alias: 'Umb.Condition.User.CanPerformActions', + }, { alias: 'Umb.Condition.User.AllowDeleteAction', }, @@ -37,6 +40,9 @@ const entityActions: Array = [ label: 'Enable', }, conditions: [ + { + alias: 'Umb.Condition.User.CanPerformActions', + }, { alias: 'Umb.Condition.User.AllowEnableAction', }, @@ -55,6 +61,9 @@ const entityActions: Array = [ label: 'Disable', }, conditions: [ + { + alias: 'Umb.Condition.User.CanPerformActions', + }, { alias: 'Umb.Condition.User.AllowDisableAction', }, @@ -72,6 +81,11 @@ const entityActions: Array = [ icon: 'icon-key', label: 'Change Password', }, + conditions: [ + { + alias: 'Umb.Condition.User.CanPerformActions', + }, + ], }, { type: 'entityAction', @@ -86,6 +100,9 @@ const entityActions: Array = [ label: 'Unlock', }, conditions: [ + { + alias: 'Umb.Condition.User.CanPerformActions', + }, { alias: 'Umb.Condition.User.AllowUnlockAction', }, @@ -104,6 +121,9 @@ const entityActions: Array = [ label: 'Configure Two-Factor', }, conditions: [ + { + alias: 'Umb.Condition.User.CanPerformActions', + }, { alias: 'Umb.Condition.User.AllowMfaAction', },