Title | Added | Status | Last reviewed |
---|---|---|---|
Node permission dialog service |
v2.4.0 |
Active |
2019-01-16 |
Displays dialogs to let the user set node permissions.
- close()
Closes the currently-open dialog. - openAddPermissionDialog(node:
Node
, roles:RoleModel
[]
, title?:string
):Observable
<
PermissionElement
[]>
Opens a dialog to add permissions to a node.- node:
Node
- target node - roles:
RoleModel
[]
- settable roles for the node - title:
string
- (Optional) Dialog title - Returns
Observable
<
PermissionElement
[]>
- Node with updated permissions
- node:
- updateNodePermissionByDialog(nodeId?:
string
, title?:string
):Observable
<Node>
Opens a dialog to update permissions for a node.- nodeId:
string
- (Optional) ID of the target node - title:
string
- (Optional) Dialog title - Returns
Observable
<Node>
- Node with updated permissions
- nodeId:
This service sets up an Add Permission Dialog component to provide a user interface for updating permissions.