mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
[ACA-3960] FE - Users that are part of a candidate group should not be able to see 'Assignee' property as editable when on that user task candidate group was set as assignment (#6159)
* [ACA-3960] FE - Users that are part of a candidate group should not be able to see 'Assignee' property as editable when on that user task candidate group was set as assignment * * Added description
This commit is contained in:
@@ -318,8 +318,12 @@ export class TaskHeaderCloudComponent implements OnInit, OnDestroy, OnChanges {
|
||||
return this.taskCloudService.isTaskEditable(this.taskDetails);
|
||||
}
|
||||
|
||||
/**
|
||||
* as per [ACA-3960] it required an empty array argument for now
|
||||
* Empty array will be replaced with candidateGroups in feature
|
||||
*/
|
||||
isAssigneePropertyClickable(): boolean {
|
||||
return this.taskCloudService.isAssigneePropertyClickable(this.taskDetails, this.candidateUsers, this.candidateGroups);
|
||||
return this.taskCloudService.isAssigneePropertyClickable(this.taskDetails, this.candidateUsers, []);
|
||||
}
|
||||
|
||||
private isValidSelection(filteredProperties: string[], cardItem: CardViewBaseItemModel): boolean {
|
||||
|
Reference in New Issue
Block a user