mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
* [ADF-3323] Moved source file parsing to main doc tool * [ADF-3323] Moved source info classes * [ADF-3323] Added doc YAML generator tool * [ADF-3323] Added doc YAML/JSON source paths to gitignore * [ADF-3323] Completed templates and template context code * [ADF-3323] Added source paths and updated type linker * [ADF-3323] Final fixes to templates and type linking * [ADF-3323] Fixed filter for private and protected methods * [ADF-3323] Content services docs after check and rebuild * [ADF-3323] Updated docbuild script in package.json
1.2 KiB
1.2 KiB
Added, Status, Last reviewed
Added | Status | Last reviewed |
---|---|---|
v2.3.0 | Active | 2018-06-08 |
Inherit Permission directive
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
Name | Type | Default value | Description |
---|---|---|---|
nodeId | string |
ID of the node to add/remove inherited permissions |
Events
Name | Type | Description |
---|---|---|
error | EventEmitter <any> |
|
updated | EventEmitter < MinimalNodeEntryEntity > |
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.