Issue Details (XML | Word | Printable)

Key: JS1-536
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Mark Orciuch
Reporter: Mark Orciuch
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jetspeed

[FIX] Security constraint behaviour with group other than Jetspeed

Created: 18/Jan/05 09:08 AM   Updated: 26/May/05 12:30 PM
Return to search
Component/s: Security
Affects Version/s: 1.6-dev
Fix Version/s: 1.6

Time Tracking:
Not Specified

Resolution Date: 26/Jan/05 08:47 AM


 Description  « Hide
This was originally reported by Jeremy Ford:

<quote>
I have a group G and a role R. A user is assigned to group G and role R,
but they are not in the Jetspeed group. I have a security entry stating
allow all actions for role R.

When I try to view a psml with the security reference, the user cannot see
the psml. The reason is that the check in BaseSecurityEntry checks the
grouprole access map. The access map was loaded with the default Jetspeed
group because the group was not defined in the security entry.

I would expect that the group role check would check all groups for the role
that I'm looking for.

So, in allowsGroupRole it would go something like:

allow = isInAllowMap(allowMap, GROUP_ROLE_MAP, group+role, ALL_GROUP_ROLES);

if(!allow)
allow = isInAllowMap(allowMap, GROUP_ROLE_MAP, ALL_GROUPS+role,
ALL_GROUP_ROLES);

if(!allow)
allow = isInAllowMap(allowMap, GROUP_ROLE_MAP, group+ALL_ROLES,
ALL_GROUP_ROLES);

</quote>

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.