Update the current node by adding/removing the inherited permissions.
<button mat-raised-button
color="primary"
adf-inherit-permission [nodeId]="nodeId"
(updated)="onUpdatedPermissions($node)">PERMISSION</button>
| Name | Type | Default value | Description |
|---|---|---|---|
| nodeId | string | ID of the node to add/remove inherited permissions. |
| Name | Type | Description |
|---|---|---|
| error | EventEmitter<any> | Emitted when an error occurs. |
| updated | EventEmitter<Node> | Emitted when the node is updated. |
This directive switches inheritance of permissions on or off depending on what is set in the node entity. So if the node has inherited permissions, this will remove them and vice versa. If the node does not have inherited permissions then this will add them.
© 2023 Alfresco Software, Inc. All Rights Reserved.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.