diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/property/umbproperty.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/property/umbproperty.directive.js
index 9c33b35e82..ad62bcd3db 100644
--- a/src/Umbraco.Web.UI.Client/src/common/directives/components/property/umbproperty.directive.js
+++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/property/umbproperty.directive.js
@@ -16,10 +16,15 @@ angular.module("umbraco.directives")
replace: true,
templateUrl: 'views/components/property/umb-property.html',
link: function (scope) {
- userService.getCurrentUser().then(function (u) {
- var isAdmin = u.userGroups.indexOf('admin') !== -1;
- scope.propertyAlias = (Umbraco.Sys.ServerVariables.isDebuggingEnabled === true || isAdmin) ? scope.property.alias : null;
- });
+
+ scope.controlLabelTitle = null;
+ if(Umbraco.Sys.ServerVariables.isDebuggingEnabled) {
+ userService.getCurrentUser().then(function (u) {
+ if(u.allowedSections.indexOf("settings") !== -1 ? true : false) {
+ scope.controlLabelTitle = scope.property.alias;
+ }
+ });
+ }
},
//Define a controller for this directive to expose APIs to other directives
controller: function ($scope) {
diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/umbnodepreview.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/umbnodepreview.directive.js
index 9f1f7a0d2e..fd52c4d7ea 100644
--- a/src/Umbraco.Web.UI.Client/src/common/directives/components/umbnodepreview.directive.js
+++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/umbnodepreview.directive.js
@@ -102,10 +102,15 @@
if (!scope.editLabelKey) {
scope.editLabelKey = "general_edit";
}
- userService.getCurrentUser().then(function (u) {
- var isAdmin = u.userGroups.indexOf('admin') !== -1;
- scope.alias = (Umbraco.Sys.ServerVariables.isDebuggingEnabled === true || isAdmin) ? scope.alias : null;
- });
+
+ scope.nodeNameTitle = null;
+ if(Umbraco.Sys.ServerVariables.isDebuggingEnabled) {
+ userService.getCurrentUser().then(function (u) {
+ if (u.allowedSections.indexOf("settings") !== -1 ? true : false) {
+ scope.nodeNameTitle = scope.alias;
+ }
+ });
+ }
}
var directive = {
diff --git a/src/Umbraco.Web.UI.Client/src/views/components/property/umb-property.html b/src/Umbraco.Web.UI.Client/src/views/components/property/umb-property.html
index ca57679f51..658b7c73ab 100644
--- a/src/Umbraco.Web.UI.Client/src/views/components/property/umb-property.html
+++ b/src/Umbraco.Web.UI.Client/src/views/components/property/umb-property.html
@@ -11,7 +11,7 @@
{{inheritsFrom}}
-