mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
* [ADF-3323] Moved source file parsing to main doc tool * [ADF-3323] Moved source info classes * [ADF-3323] Added doc YAML generator tool * [ADF-3323] Added doc YAML/JSON source paths to gitignore * [ADF-3323] Completed templates and template context code * [ADF-3323] Added source paths and updated type linker * [ADF-3323] Final fixes to templates and type linking * [ADF-3323] Fixed filter for private and protected methods * [ADF-3323] Content services docs after check and rebuild * [ADF-3323] Updated docbuild script in package.json
37 lines
1.7 KiB
Markdown
37 lines
1.7 KiB
Markdown
---
|
|
Added: v2.4.0
|
|
Status: Active
|
|
Last reviewed: 2018-05-23
|
|
---
|
|
|
|
# Node permission dialog service
|
|
|
|
Displays dialogs to let the user set node permissions.
|
|
|
|
## Class members
|
|
|
|
### Methods
|
|
|
|
- **close**()<br/>
|
|
Closes the currently-open dialog.
|
|
- **openAddPermissionDialog**(node: `Node`, title?: `string`): [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`MinimalNodeEntity`](../content-services/document-library.model.md)`[]>`<br/>
|
|
Opens a dialog to add permissions to a node.
|
|
- _node:_ `Node` -
|
|
- _title:_ `string` - (Optional) Dialog title
|
|
- **Returns** [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`MinimalNodeEntity`](../content-services/document-library.model.md)`[]>` - Node with updated permissions
|
|
- **updateNodePermissionByDialog**(nodeId?: `string`, title?: `string`): [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`MinimalNodeEntryEntity`](../content-services/document-library.model.md)`>`<br/>
|
|
Opens a dialog to update permissions for a node.
|
|
- _nodeId:_ `string` - (Optional) ID of the target node
|
|
- _title:_ `string` - (Optional) Dialog title
|
|
- **Returns** [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`MinimalNodeEntryEntity`](../content-services/document-library.model.md)`>` - Node with updated permissions
|
|
|
|
## Details
|
|
|
|
This service sets up an [Add Permission Dialog component](../content-services/add-permission-dialog.component.md) to provide a user
|
|
interface for updating permissions.
|
|
|
|
## See also
|
|
|
|
- [Node Permission service](node-permission.service.md)
|
|
- [Add Permission Dialog component](add-permission-dialog.component.md)
|