mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
* [ADF-2905] Updated JSDocs for content services * [ADF-2905] Updated JSDocs for content services * [ADF-2911] Improved error message handling in doc tools (#3267) * [ADF-2772] Sidenav Layout - UX review (#3264) * Add border-right in mat-sidenav * workaround for enum issue in js-api * fix the AoT buid error * fix AoT build error * fix export problem for AoT * [ADF-2905] Updated JSDocs for content services * [ADF-2905] Updated JSDocs for content services
1.7 KiB
1.7 KiB
Added, Status
Added | Status |
---|---|
v2.0.0 | Active |
Node Permission service
Manages the role permissions for the content nodes
Class members
Methods
getGroupMemeberByGroupName(groupName: string = null, opts?: any = null): Observable<GroupMemberPaging>
Gets all members related to a group name.groupName: string = null
- Name of group to look for membersopts?: any = null
- (Optional) Extra options supported by JSAPI- Returns
Observable<GroupMemberPaging>
- List of members
getNodeRoles(node: MinimalNodeEntryEntity = null): Observable<string[]>
Gets a list of roles for the current node.node: MinimalNodeEntryEntity = null
- The target node- Returns
Observable<string[]>
- Array of strings representing the roles
updatePermissionRoles(node: MinimalNodeEntryEntity = null, updatedPermissionRole: PermissionElement = null): Observable<MinimalNodeEntryEntity>
Updates the permission for a node.node: MinimalNodeEntryEntity = null
- Target nodeupdatedPermissionRole: PermissionElement = null
- Permission role to update or add- Returns
Observable<MinimalNodeEntryEntity>
- Node with updated permission
Details
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.