use correct magic letter for update permission
This commit is contained in:
@@ -184,7 +184,7 @@
|
||||
|
||||
$scope.propertyEditorReadonly = function(property) {
|
||||
// check for permission to update
|
||||
return !$scope.content.allowedActions.includes('U');
|
||||
return !$scope.content.allowedActions.includes('A');
|
||||
};
|
||||
|
||||
$scope.propertyEditorDisabled = function (property) {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
function propertyEditorReadonly () {
|
||||
// check for permission to update
|
||||
return !$scope.variantContent.allowedActions.includes('U');
|
||||
return !$scope.variantContent.allowedActions.includes('A');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user