https://bz.apache.org/bugzilla/show_bug.cgi?id=65351
--- Comment #1 from cklein05 <[email protected]> --- Provided method was not complete, in order to test for all/effective roles, of course (my bad). Testing explicitly assigned roles is still required so, this should be the correct version: public boolean isInEffectiveRole(Role role) { if (isInRole(role)) { return true; } synchronized (groups) { for (Group group : groups) { if (group.isInRole(role)) { return true; } } } return false; } -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
