mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* fix after rebase * new release strategy for ng next Signed-off-by: eromano <eugenioromano16@gmail.com> * peer dep Signed-off-by: eromano <eugenioromano16@gmail.com> * Angular 14 fix unit test and storybook Signed-off-by: eromano <eugenioromano16@gmail.com> fix after rebase Signed-off-by: eromano <eugenioromano16@gmail.com> update pkg.json Signed-off-by: eromano <eugenioromano16@gmail.com> missing dep Signed-off-by: eromano <eugenioromano16@gmail.com> Fix mistake and missing code Dream....build only affected libs Add utility run commands * Use nx command to run affected tests * Fix nx test core fix content tests Run unit with watch false core test fixes reduce test warnings Fix process cloud unit Fix adf unit test Fix lint process cloud Disable lint next line Use right core path Fix insights unit fix linting insights Fix process-services unit fix the extensions test report fix test warnings Fix content unit Fix bunch of content unit * Produce an adf alpha of 14 * hopefully fixing the content * Push back the npm publish * Remove flaky unit * Fix linting * Make the branch as root * Get rid of angualar13 * Remove the travis depth * Fixing version for npm * Enabling cache for unit and build * Fix scss for core and paths Copy i18 and asset by using ng-packager Export the theming alias and fix path Use ng-package to copy assets process-services-cloud Use ng-package to copy assets process-services Use ng-package to copy assets content-services Use ng-package to copy assets insights * feat: fix api secondary entry point * fix storybook rebase * Move dist under dist/libs from lib/dist * Fix the webstyle * Use only necessary nrwl deps and improve lint * Fix unit for libs * Convert lint.sh to targets - improve performance * Use latest of angular * Align alfresco-js-api Signed-off-by: eromano <eugenioromano16@gmail.com> Co-authored-by: eromano <eugenioromano16@gmail.com> Co-authored-by: Mikolaj Serwicki <mikolaj.serwicki@hyland.com> Co-authored-by: Tomasz <tomasz.gnyp@hyland.com>
8.9 KiB
8.9 KiB
Title, Added, Status, Last reviewed
Title | Added | Status | Last reviewed |
---|---|---|---|
Identity Group service | v3.4.0 | Active | 2019-07-13 |
Identity Group service
Performs CRUD operations on identity groups.
Class members
Methods
- assignRoles(groupId:
string
, roles:IdentityRoleModel
[]
):Observable
<any>
Assigns roles to the group- groupId:
string
- The ID of the group - roles:
IdentityRoleModel
[]
- Array of roles to assign - Returns
Observable
<any>
-
- groupId:
- checkGroupHasAnyClientAppRole(groupId:
string
, clientId:string
, roleNames:string[]
):Observable
<boolean>
Check if a group has any of the client app roles in the supplied list.- groupId:
string
- Id of the target group - clientId:
string
- Id of the client - roleNames:
string[]
- Array of role names to check - Returns
Observable
<boolean>
- True if the group has one or more of the roles, false otherwise
- groupId:
- checkGroupHasClientApp(groupId:
string
, clientId:string
):Observable
<boolean>
Checks if a group has a client app.- groupId:
string
- Id of the target group - clientId:
string
- Id of the client - Returns
Observable
<boolean>
- True if the group has the client app, false otherwise
- groupId:
- checkGroupHasRole(groupId:
string
, roleNames:string[]
):Observable
<boolean>
Check that a group has one or more roles from the supplied list.- groupId:
string
- Id of the target group - roleNames:
string[]
- Array of role names - Returns
Observable
<boolean>
- True if the group has one or more of the roles, false otherwise
- groupId:
- createGroup(newGroup:
IdentityGroupModel
):Observable
<any>
Creates new group.- newGroup:
IdentityGroupModel
- Object of containing the new group details. - Returns
Observable
<any>
- Empty response when the group created.
- newGroup:
- deleteGroup(groupId:
string
):Observable
<any>
Deletes Group.- groupId:
string
- Id of the group. - Returns
Observable
<any>
- Empty response when the group deleted.
- groupId:
- findGroupsByName(searchParams:
IdentityGroupSearchParam
):Observable
<
IdentityGroupModel
[]>
Finds groups filtered by name.- searchParams:
IdentityGroupSearchParam
- Object containing the name filter string - Returns
Observable
<
IdentityGroupModel
[]>
- List of group information
- searchParams:
- getAssignedRoles(groupId:
string
):Observable
<
IdentityRoleModel
[]>
Gets assigned roles- groupId:
string
- Id of the group. - Returns
Observable
<
IdentityRoleModel
[]>
- Array of available roles
- groupId:
- getAvailableRoles(groupId:
string
):Observable
<
IdentityRoleModel
[]>
Gets available roles- groupId:
string
- Id of the group. - Returns
Observable
<
IdentityRoleModel
[]>
- Array of available roles information objects
- groupId:
- getClientIdByApplicationName(applicationName:
string
):Observable
<string>
Gets the client Id using the app name.- applicationName:
string
- Name of the app - Returns
Observable
<string>
- client Id string
- applicationName:
- getClientRoles(groupId:
string
, clientId:string
):Observable
<
IdentityRoleModel
[]>
Gets client roles.- groupId:
string
- Id of the target group - clientId:
string
- Id of the client - Returns
Observable
<
IdentityRoleModel
[]>
- List of roles
- groupId:
- getEffectiveRoles(groupId:
string
):Observable
<
IdentityRoleModel
[]>
Get effective roles- groupId:
string
- Id of the group - Returns
Observable
<
IdentityRoleModel
[]>
- Array of effective roles
- groupId:
- getGroupRoles(groupId:
string
):Observable
<
IdentityRoleModel
[]>
Gets details for a specified group.- groupId:
string
- Id of the target group - Returns
Observable
<
IdentityRoleModel
[]>
- Group details
- groupId:
- getGroups():
Observable
<
IdentityGroupModel
[]>
Gets all groups.- Returns
Observable
<
IdentityGroupModel
[]>
- Array of group information objects
- Returns
- getTotalGroupsCount():
Observable
<
IdentityGroupCountModel
>
Gets groups total count.- Returns
Observable
<
IdentityGroupCountModel
>
- Number of groups count.
- Returns
- queryGroups(requestQuery:
IdentityGroupQueryCloudRequestModel
):Observable
<
IdentityGroupQueryResponse
>
Queries groups.- requestQuery:
IdentityGroupQueryCloudRequestModel
- - Returns
Observable
<
IdentityGroupQueryResponse
>
- Array of user information objects
- requestQuery:
- removeRoles(groupId:
string
, roles:IdentityRoleModel
[]
):Observable
<any>
Removes roles from the group- groupId:
string
- The ID of the group - roles:
IdentityRoleModel
[]
- Array of roles to remove - Returns
Observable
<any>
-
- groupId:
- updateGroup(groupId:
string
, updatedGroup:IdentityGroupModel
):Observable
<any>
Updates group details.- groupId:
string
- Id of the targeted group. - updatedGroup:
IdentityGroupModel
- Object of containing the group details - Returns
Observable
<any>
- Empty response when the group updated.
- groupId: