mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-2905] Updated JSDocs for content services (#3269)
* [ADF-2905] Updated JSDocs for content services * [ADF-2905] Added missing update to version manager MD file
This commit is contained in:
committed by
Eugenio Romano
parent
b393708514
commit
563af3bbfa
@@ -6,7 +6,7 @@ Last reviewed: 2018-05-03
|
||||
|
||||
# Add Permission Component
|
||||
|
||||
Allow user to search people or group that could be added to the current node permissions.
|
||||
Searches for people or groups to add to the current node permissions.
|
||||
|
||||

|
||||
|
||||
@@ -14,7 +14,7 @@ Allow user to search people or group that could be added to the current node per
|
||||
|
||||
```html
|
||||
<adf-add-permission [nodeId]="nodeId"
|
||||
(success)="onSuccess($event)" (error)="onError($event)">
|
||||
(success)="onSuccess($event)" (error)="onError($event)">
|
||||
</adf-add-permission>
|
||||
```
|
||||
|
||||
@@ -24,18 +24,17 @@ Allow user to search people or group that could be added to the current node per
|
||||
|
||||
| Name | Type | Default value | Description |
|
||||
| -- | -- | -- | -- |
|
||||
| nodeId | `string` | "" | |
|
||||
| nodeId | `string` | | ID of the target node. |
|
||||
|
||||
### Events
|
||||
|
||||
| Name | Type | Description |
|
||||
| -- | -- | -- |
|
||||
| success | `EventEmitter<MinimalNodeEntryEntity>` | |
|
||||
| error | `EventEmitter<any>` | |
|
||||
| error | `EventEmitter<any>` | Emitted when an error occurs during the update. |
|
||||
| success | `EventEmitter<MinimalNodeEntryEntity>` | Emitted when the node is updated successfully. |
|
||||
|
||||
## Details
|
||||
|
||||
This component extends the [Add permission panel component](../add-permission-panel.component.md)
|
||||
and apply the action confirm when the selection made is accepted.
|
||||
The `success` event will be emitted when the node is correctly updated.
|
||||
The `error` event will be thrown whenever the node update permission will fail.
|
||||
|
||||
|
Reference in New Issue
Block a user