alfresco-ng2-components/docs/content-services/node-permission-dialog.service.md
Andy Stark 3ba72f00f8 [ADF-3551] Updates for doc review (#3784)
* [ADF-3551] Updated doc comments

* [ADF-3551] Updated doc comments

* [ADF-3551] Doc files updated with new doc comments
2018-09-13 12:59:57 +01:00

1.7 KiB

Added, Status, Last reviewed
Added Status Last reviewed
v2.4.0 Active 2018-09-13

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<MinimalNodeEntity[]>
    Opens a dialog to add permissions to a node.
    • node: Node - ID of the target node
    • title: string - (Optional) Dialog title
    • Returns Observable<MinimalNodeEntity[]> - Node with updated permissions
  • updateNodePermissionByDialog(nodeId?: string, title?: string): 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

Details

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

See also