mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
1.7 KiB
1.7 KiB
Added, Status, Last reviewed
Added | Status | Last reviewed |
---|---|---|
v2.4.0 | Active | 2018-05-23 |
Node permission dialog service
Displays dialogs to let the user set node permissions.
Class members
Methods
- close()
Closes the currently-open dialog. - openAddPermissionDialog(nodeId:
string
=null
, title?:string
=null
):Observable
<
MinimalNodeEntity
[]>
Opens a dialog to add permissions to a node.- nodeId:
string
- ID of the target node - title:
string
- (Optional) Dialog title - Returns
Observable
<
MinimalNodeEntity
[]>
- Node with updated permissions
- nodeId:
- updateNodePermissionByDialog(nodeId?:
string
=null
, title?:string
=null
):Observable
<
MinimalNodeEntryEntity
>
Opens a dialog to update permissions for a node.- nodeId:
string
- (Optional) ID of the target node - title:
string
- (Optional) Dialog title - Returns
Observable
<
MinimalNodeEntryEntity
>
- Node with updated permissions
- nodeId:
Details
This service sets up an Add Permission Dialog component to provide a user interface for updating permissions.