directory-fortress mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Pike <clp...@psu.edu>
Subject Re: Retrieving Role Permissions
Date Mon, 14 Dec 2015 18:44:15 GMT
Thanks! It worked in my simple test scenario. 

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?


----- Original Message -----
From: "Shawn McKinney" <smckinney@apache.org>
To: fortress@directory.apache.org
Sent: Monday, December 14, 2015 12:19:36 PM
Subject: Re: Retrieving Role Permissions

> On Dec 14, 2015, at 10:00 AM, Chris Pike <clp207@psu.edu> wrote:
> 
> Is there an API call get all permissions assigned to a role that doesn't look at the
role hierarchy?
> 
> The ReviewManager "rolePermissions" method returns all permissions granted or inherited,
but I need a method that only returns permissions directly assigned to the role.

No, but there is now:

https://issues.apache.org/jira/browse/FC-128

Very easy change, but have not added test cases to verify - yet.

Shawn

Mime
View raw message