mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
rename old hasPermission as allowableOperation and introduce the real hasPermissions (#4294)
This commit is contained in:
@@ -76,7 +76,7 @@ export class NodeDeleteDirective implements OnChanges {
|
||||
if (!this.selection || (this.selection && this.selection.length === 0)) {
|
||||
this.setDisableAttribute(true);
|
||||
} else {
|
||||
if (!this.elementRef.nativeElement.hasAttribute('adf-node-permission')) {
|
||||
if (!this.elementRef.nativeElement.hasAttribute('adf-check-allowable-operation')) {
|
||||
this.setDisableAttribute(false);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user