Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 0.9
-
Fix Version/s: 1.0-M2
-
Component/s: None
-
Labels:None
-
Request Controller:Please Select
-
External Supervisor:Please select
-
Executing Programmer:Please select
Description
The permission checking implemented by the hasPermission method of o.w.s.WeceemSecurityPolicy stops the role iteration as soon as it finds a role without the required permissions. However a user may have several roles and we can't assume a known order in the list of given roles, so I think the list of roles should be traversed until a role with permissions is found or its end is reached.
I thin this patch should fix the issue.