--- Added: v2.0.0 Status: Active --- # Node Permission service Manages the role permissions for the content nodes ## Class members ### Methods - `getGroupMemeberByGroupName(groupName: string = null, opts?: any = null): Observable`
Gets all members related to a group name. - `groupName: string = null` - Name of group to look for members - `opts?: any = null` - (Optional) Extra options supported by JSAPI - **Returns** `Observable` - List of members - `getNodeRoles(node: MinimalNodeEntryEntity = null): Observable`
Gets a list of roles for the current node. - `node: MinimalNodeEntryEntity = null` - The target node - **Returns** `Observable` - Array of strings representing the roles - `updatePermissionRoles(node: MinimalNodeEntryEntity = null, updatedPermissionRole: PermissionElement = null): Observable`
Updates the permission for a node. - `node: MinimalNodeEntryEntity = null` - Target node - `updatedPermissionRole: PermissionElement = null` - Permission role to update or add - **Returns** `Observable` - 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](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)