I dug into the method and determined the problem. It was not searching how I 
envisioned. I went ahead and added a new method "findAnyPermissions" to the 
review manager that searches any part of the string and does an OR between obj 
and op. I created a pull request in github

https://github.com/apache/directory-fortress-core/pull/2

Let me know what you think



----- Original Message -----
From: "Chris Pike" <[email protected]>
To: [email protected]
Sent: Tuesday, December 15, 2015 11:39:55 AM
Subject: Re: Retrieving Role Permissions

Ok, another API question, I'm trying to search for permissions using the 
reviewManager "findPermissions" method, but am never getting any results 
returned. Any ideas?

----- Original Message -----
From: "Shawn McKinney" <[email protected]>
To: [email protected]
Sent: Monday, December 14, 2015 3:01:10 PM
Subject: Re: Retrieving Role Permissions

> On Dec 14, 2015, at 12:44 PM, Chris Pike <[email protected]> wrote:
> 
> 
> On the review manager, there is a method permissionUsers that says it returns 
> all users who have been directly granted a permission. How can a user be 
> directly granted a permission? I thought permissions were only granted 
> through roles?

Yes, RBAC prescribes user-roles-permissions.  The user-permission mapping is 
not part of the rbac standard but is nonetheless simple, useful, and has been 
there since the beginning.  

Shawn

Reply via email to