Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 2.09 KB

node-permission-dialog.service.md

File metadata and controls

38 lines (29 loc) · 2.09 KB
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.

Class members

Methods

  • 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
  • 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

Details

This service sets up an Add Permission Dialog component to provide a user interface for updating permissions.

See also