Welcome to the Alfresco Builder Network

Update the current node by adding/removing the inherited permissions.

Basic Usage

    <button mat-raised-button
            color="primary"
            adf-inherit-permission [nodeId]="nodeId"
            (updated)="onUpdatedPermissions($node)">PERMISSION</button>

Class members

Properties

NameTypeDefault valueDescription
nodeIdstringID of the node to add/remove inherited permissions.

Events

NameTypeDescription
errorEventEmitter<any>Emitted when an error occurs.
updatedEventEmitter<Node>Emitted when the node is updated.

Details

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.

Interested in trying Alfresco?

Try Now