Resolution: Won't Fix
Affects Version/s: 6.0.6 GA
Environment:Liferay 6.0.6, Tomcat 6.0.29, MySQL 5.0.88, Windows 7 - 64 bit
Similar Issues:Show 5 results
LPS-24010 Organization - Unable to assign users to a role from an Organization LPS-27695 Assign Organization Role doesn't work. LPS-27559 Organization roles assigned to incorrect organization LPS-19925 Regular Role to group LPS-755 Allow direct assignment of organization roles and community roles from a user profile
I am facing some wierd problem with Roles.
When I assign some Organization Role to the some user using this api
UserGroupRoleLocalServiceUtil.addUserGroupRoles(long userId, long groupId, long roleIds)
, this works fine.
But after this when I assign some Regular Role to the same user using below api
, I am facing problem here.
The problem what happens is that the Regular Role is getting assigned to the User, but the previously added Organization Role goes away.
This is not replicating when done from Control Panel UI. I checked EditUserAction.java, there the method used for updating roles is the updateUser(....)
I think this is the bug.