mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[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:
committed by
Maurizio Vitale
parent
08cdb2f7c3
commit
3b455524b9
@@ -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';
|
||||
}
|
||||
|
Reference in New Issue
Block a user