mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
rename old hasPermission as allowableOperation and introduce the real hasPermissions (#4294)
This commit is contained in:
@@ -123,7 +123,7 @@ export class ShareDialogComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
get canUpdate() {
|
||||
return this.contentService.hasPermission(this.data.node.entry, 'update');
|
||||
return this.contentService.hasAllowableOperations(this.data.node.entry, 'update');
|
||||
}
|
||||
|
||||
private openConfirmationDialog() {
|
||||
|
Reference in New Issue
Block a user