mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [ADF-2553] start adding dropdown * [ADF-2553] added select box and updating role * [ADF-2553] added some fixes * [ADF-2554] added test for component phase 1 * [ADF-2553] fixed error and added tests * [ADF-2553] added documentation and improved api call
1002 B
1002 B
Added, Status, Last reviewed
Added | Status | Last reviewed |
---|---|---|
v2.3.0 | Active | 2018-03-23 |
Permission List Component
Shows node permissions as a table.
Basic Usage
<adf-permission-list [nodeId]="nodeId">
</adf-permission-list>
Properties
Name | Type | Default value | Description |
---|---|---|---|
nodeId | string |
null |
ID of the node whose permissions you want to show. |
Events
Name | Type | Description |
---|---|---|
update | PermissionElement |
Emitted when the permission is updated. |
Details
This component uses a Datatable component to show the
permissions retrieved from the Node service.
For the locallyset permissions a role dropdown will be showed allowing the user to change it.
When user select a new value, the permission role is automatically updated and the update
event is thrown.