mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
* [ADF-2553] start adding dropdown * [ADF-2553] added select box and updating role * [ADF-2553] added some fixes * [ADF-2554] added test for component phase 1 * [ADF-2553] fixed error and added tests * [ADF-2553] added documentation and improved api call
39 lines
1.3 KiB
Markdown
39 lines
1.3 KiB
Markdown
---
|
|
Added: v2.0.0
|
|
Status: Active
|
|
---
|
|
# Node Permission service
|
|
|
|
Manages the role permissions for the content nodes
|
|
|
|
## Methods
|
|
|
|
- `getNodeRoles(node: MinimalNodeEntryEntity): Observable<string[]>`
|
|
Gets a list of roles for the current node.
|
|
- `node` - the target node
|
|
- `updatePermissionRoles(node: MinimalNodeEntryEntity, updatedPermissionRole: PermissionElement): Observable<MinimalNodeEntryEntity>`
|
|
Update the given permission for the related node
|
|
- `node` - the target node
|
|
- `updatedPermissionRole` the permission role to update/add
|
|
|
|
- `getGroupMemeberByGroupName(groupName: string, opts?: any): Observable<GroupMemberPaging>`
|
|
Perform a call to the groups api to retrieve all the members related to that group name.
|
|
- `groupName` the members group name
|
|
- `opts` additional parameters to perform the call
|
|
|
|
|
|
## Details
|
|
|
|
Content Services supports
|
|
This service needs the support for the groups api fo content services that is available from version 5.2.1
|
|
|
|
See the
|
|
[Groups API](https://github.com/Alfresco/alfresco-js-api/blob/master/src/alfresco-core-rest-api/docs/GroupssApi.md)
|
|
in the Alfresco JS API for more information about the types returned by Tag
|
|
service methods and for the implementation of the REST API the service is
|
|
based on.
|
|
|
|
## See also
|
|
|
|
- [Permission list component](permission-list.component.md)
|