diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbvariantcontent.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbvariantcontent.directive.js index 7663616549..85d3233e22 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbvariantcontent.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbvariantcontent.directive.js @@ -108,9 +108,10 @@ }); function onAppChanged(activeApp) { - - // disable the name field if the active content app is not "Content" or "Info" - vm.nameDisabled = (activeApp && !contentAppHelper.isContentBasedApp(activeApp)); + // set the name field to readonly if the user don't have update permissions or the active content app is not "Content" or "Info" + const allowUpdate = vm.editor.content.allowedActions.includes('A'); + const isContentBasedApp = activeApp && contentAppHelper.isContentBasedApp(activeApp); + vm.nameReadonly = !allowUpdate || !isContentBasedApp; } /** diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditorcontentheader.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditorcontentheader.directive.js index e194d00295..61e3e0283f 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditorcontentheader.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditorcontentheader.directive.js @@ -238,6 +238,7 @@ scope: { name: "=", nameDisabled: "