--- Added: v2.3.0 Status: Active Last reviewed: 2018-05-03 --- # Permission List Component Shows node permissions as a table. ![Permission List](../docassets/images/adf-permission-list.png) ## Basic Usage ```html ``` If permissions list is empty, `No permissions` text is displayed, or custom template can be added: ```html Custom no permission template! ``` ## Class members ### Properties | Name | Type | Default value | Description | | -- | -- | -- | -- | | nodeId | `string` | "" | ID of the node whose permissions you want to show. | ### Events | Name | Type | Description | | -- | -- | -- | | error | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`` | | | update | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`` | Emitted when the permission is updated. | ## Details This component uses a [Datatable component](../core/datatable.component.md) to show the permissions retrieved from the [Node service](../core/node.service.md). For the locally set permissions a role dropdown will be shown to let the user select a new role. When the user selects a new value, the permission role is automatically updated and the `update` event is emitted.