* [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
1.3 KiB
Added, Status
| Added | Status |
|---|---|
| v2.0.0 | 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 nodenode- the target nodeupdatedPermissionRolethe 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.groupNamethe members group nameoptsadditional 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 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.