User groups and roles are not resolving unles directly specified
----------------------------------------------------------------
Key: MAGNOLIA-1582
URL: http://jira.magnolia.info/browse/MAGNOLIA-1582
Project: Magnolia
Issue Type: Bug
Reporter: Amir Mistric
Assigned To: Boris Kraft
Scenario
Let say there are 5 users which have special priviledges.
Instead of assigning to each user all the necessary roles and groups a special
group is created (e.g. GSPECIAL)
Add groups publisher and editor to group GSPECIAL and add as many roles as
necessary to group GSPECIAL.
Then add each of 5 users to group GSPECIAL.
Problem #1:
Inbox notification does not work.
None of the members of GSPECIAL have a direct relationship with groups
"publisher" and "editor" which are necessary for Inbox notification..However,
users *DO* belong to those groups via indirect group membership...
Problem #2:
Role inheritance does not work.
Getting user roles via API returns only direct assigned roles. In our scenrio
that means none of the 5 users have roles defines which is not true. All 5
users have indirect roles defined via group membership.
Perhaps my logic is flawed but if a user is a member of a group which in turn
has other groups and roles than that user shold inherit all those roles and
groups along with their priviledges....
Workaround:
Assign groups and roles directly to user.
Quick solution:
Disable assigning groups and roles in group dialog or abandon groups
allthogether (bad idea). I am sure workflow can be based off of roles in that
case...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------