directory-fortress mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn McKinney <smckin...@apache.org>
Subject Re: Load Admin Permissions
Date Mon, 15 May 2017 19:42:31 GMT

> On May 15, 2017, at 2:31 PM, Shawn McKinney <smckinney@apache.org> wrote:
> 
> Chris, the list of all admin permissions is returned by calling this api:
> http://directory.apache.org/fortress/gen-docs/latest/apidocs/org/apache/directory/fortress/core/DelReviewMgr.html#findRoles-java.lang.String-

er, let’s try again.  This is the API you would call:

perm.setAdmin( isAdmin );
permsList = reviewMgr.findPermissions( perm );

which is to say use the reviewmgr.findpermissions but set the admin flag on the perm entity.

Thinking about this a bit, it should be implemented in the delreviewmgr, even if it just wraps
the reveiwmgr call as this is confusing to the user.

Hope this helps.

Shawn
Mime
View raw message