Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.0.11 EE, 6.0.12 EE, 6.1.0 CE RC1
-
Fix Version/s: --Sprint 12/11, 6.1.0 CE RC1, 6.0.X EE
-
Labels:
-
Environment:Tomcat 6.0.32 + MySQL 5. 6.0.x Revision 84387.
Tomcat 6.0.32 + MySQL 5. 6.1.x Revision 84467.
-
Branch Version/s:6.0.x
-
Backported to Branch:Committed
-
Similar Issues:
Description
Step to reproduce :
1/ create a user "userTest"
2/ create a userGroup "userGroupTest"
3/ assign userTest to userGroupTest
4/ apply role "Portal Administrator" to userGroupTest
5/ apply "Single Approver" Workflow to the journalArticle content type
6/ create a journalArticle, and click on "Submit for publication"
All user belonging to userGroupTest won't be able to see and assign the workflow task in the Kaleo page "My Workflow Tasks". Allthough it is possible to see and assign this task in the "Workflow" page from control panel ("Submissions" tab)
So the page "My Workflow Tasks" should also display all workflow tasks belonging to the role which is applied to the userGroup

Problem is localized in KaleoTaskInstanceTokenFinderImpl:
This method does not get the Roles from the userGroup, only the roles from the user (Roles directly assigned to the user, or inderect Roles acquired in groups)