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" <[email protected]>
To: [email protected]
Sent: Monday, December 14, 2015 12:19:36 PM
Subject: Re: Retrieving Role Permissions

> On Dec 14, 2015, at 10:00 AM, Chris Pike <[email protected]> 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

Reply via email to