Dharan 0635b7fd06
[ACA-4361] permission layout modified (#6937)
* * reusable data table column moved

* [ACA-4361] permission layout modified

* * build fixed

* fix build

* * import fixed

* * null safety operation

* * fixed comments

* * fix lint

* * wait for reload list

* * remove sleep

* * add sleep

* * fix comments

* * fix comments

* * floating promises fix

* * remove wait
2021-04-23 08:50:28 +01:00

1.5 KiB

Title, Added, Status, Last reviewed
Title Added Status Last reviewed
Permission List Component v2.3.0 Active 2021-4-17

Permission List Component

Shows node permissions as a table.

Permission List

Basic Usage

<adf-permission-list [nodeId]="nodeId"></adf-permission-list>

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<any> Emitted when an error occurs.
update EventEmitter<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 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.