alfresco-ng2-components/docs/content-services/services/node-permission-dialog.service.md
Francesco Corti 5a4cc4edda
Release Note for 4.2 - Initial draft. (#6390)
* Release Note for 4.2 - Initial draft.

* update dep

* documentation

* fix

* remove script

* lint

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-12-07 21:03:41 +00:00

2.2 KiB

Title, Added, Status, Last reviewed
Title Added Status Last reviewed
Node permission dialog service v2.4.0 Active 2019-01-16

Node permission dialog service

Displays dialogs to let the user set node permissions.

Class members

Methods

  • close()
    Closes the currently-open dialog.
  • openAddPermissionDialog(node: Node, title?: string): Observable<NodeEntry[]>
    Opens a dialog to add permissions to a node.
    • node: Node - ID of the target node
    • title: string - (Optional) Dialog title
    • Returns Observable<NodeEntry[]> - 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