alfresco-ng2-components/docs/content-services/node-permission-dialog.service.md

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

Details

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

See also