use correct magic letter for update permission

This commit is contained in:
Mads Rasmussen
2022-05-11 20:30:08 +02:00
parent c9c00760b5
commit 6ddce4b151
2 changed files with 2 additions and 2 deletions

View File

@@ -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) {

View File

@@ -9,7 +9,7 @@
function propertyEditorReadonly () {
// check for permission to update
return !$scope.variantContent.allowedActions.includes('U');
return !$scope.variantContent.allowedActions.includes('A');
}
}