[ADF-3919] Add roles filtering to adf-cloud-group (#4238)

* [ADF-3919] Split group roles permission service into two

* [ADF-3909] Added roles filtering title input

* [ADF-3909] Added candate users and groups to task models

* [ADF-3909] Used group component in start task

* [ADF-3909] Updated docs

* [ADF-3909] Added disabling for multi selection

* [ADF-3909] Improved task creation logic

* [ADF-3909] Changed assignee selection mechanism

* * Added role filtering  to groups* Updated unit tests to the recent changes* Created getGroupDetailsById and checkGroupHasGivenRole in groupService* Updated unit test to the groupService

* * After rebase

* * Changed method name checkGroupHasGivenRole to  checkGroupHasRole

* * After rebase
This commit is contained in:
siva kumar
2019-02-04 17:59:10 +05:30
committed by Maurizio Vitale
parent 08cdb2f7c3
commit 3b455524b9
13 changed files with 397 additions and 121 deletions

View File

@@ -19,9 +19,10 @@ export class StartTaskCloudRequestModel {
name: string;
description: string;
assignee: string;
candidateGroups: string [];
priority: string;
dueDate: Date;
candidateUsers: string[];
candidateGroups: string[];
payloadType: string;
constructor(obj?: any) {
@@ -31,6 +32,7 @@ export class StartTaskCloudRequestModel {
this.assignee = obj.assignee || null;
this.priority = obj.priority || null;
this.dueDate = obj.dueDate || null;
this.candidateUsers = obj.candidateUsers || null;
this.candidateGroups = obj.candidateGroups || null;
this.payloadType = 'CreateTaskPayload';
}