This content has been marked as final.
Show 4 replies
-
1. Re: PermissionResolver.filterSetByAction - denying or allowing?
edek234 Nov 25, 2008 9:12 AM (in response to edek234) -
2. Re: PermissionResolver.filterSetByAction - denying or allowing?
shane.bryzak Nov 26, 2008 1:43 AM (in response to edek234)The denied targets are ultimately removed from the passed-in collection, which is how the documentation describes it. I've closed the JIRA issue.
-
3. Re: PermissionResolver.filterSetByAction - denying or allowing?
edek234 Nov 26, 2008 7:59 AM (in response to edek234)I never said they are not removed.
But please relate to the first post, I quote the documentation which is saying that PermissionResolver should remove denied targets, while it should remove allowed targets from passed Set, and that's what builtin PermissionResolvers do.
On Identity API the behaviour is opposite (Identity.filterByPermission).
-
4. Re: PermissionResolver.filterSetByAction - denying or allowing?
shane.bryzak Nov 26, 2008 11:26 AM (in response to edek234)Oops you're right, I parsed your post incorrectly thinking that the documentation you were referring to was for PermissionMapper. I've fixed the docs in SVN for PermissionResolver.