diff --git a/demo-shell/src/app/components/file-view/file-view.component.ts b/demo-shell/src/app/components/file-view/file-view.component.ts index a63e539d97..78cf6329e9 100644 --- a/demo-shell/src/app/components/file-view/file-view.component.ts +++ b/demo-shell/src/app/components/file-view/file-view.component.ts @@ -68,7 +68,7 @@ export class FileViewComponent implements OnInit { this.nodeApiService.getNode(id).subscribe( (node) => { if (node && node.isFile) { - this.isCommentEnabled = !this.contentServices.hasPermission(node, PermissionsEnum.UPDATE); + this.isCommentEnabled = !this.contentServices.hasPermissions(node, PermissionsEnum.NOT_CONSUMER); this.nodeId = id; return; } diff --git a/demo-shell/src/app/components/files/files.component.html b/demo-shell/src/app/components/files/files.component.html index 55207ffac8..4b47c3e023 100644 --- a/demo-shell/src/app/components/files/files.component.html +++ b/demo-shell/src/app/components/files/files.component.html @@ -37,7 +37,7 @@ [acceptedFilesType]="getFileFiltering()" [rootFolderId]="currentFolderId" [versioning]="versioning" - [adf-node-permission]="'create'" + [adf-check-allowable-operation]="'create'" [adf-nodes]="disableDragArea ? getCurrentDocumentListNode() : []" (beginUpload)="onBeginUpload($event)">
@@ -105,7 +105,7 @@ get_app @@ -65,7 +65,7 @@ node in the selection: ```html @@ -89,7 +89,7 @@ for example). You can also use it in much the same way as you would with an HTML ... diff --git a/lib/content-services/content-metadata/components/content-metadata-card/content-metadata-card.component.html b/lib/content-services/content-metadata/components/content-metadata-card/content-metadata-card.component.html index 526ab924c3..07068fd23f 100644 --- a/lib/content-services/content-metadata/components/content-metadata-card/content-metadata-card.component.html +++ b/lib/content-services/content-metadata/components/content-metadata-card/content-metadata-card.component.html @@ -12,7 +12,7 @@