there is one possibility for current. You can interrogate these objects. They are used for testing, but are kept up to date.
starting around line 1086: https://github.com/apache/directory-fortress-core/blob/master/src/test/java/org/apache/directory/fortress/core/impl/PermTestData.java Shawn > On May 15, 2017, at 2:52 PM, Chris Pike <[email protected]> wrote: > > Won't reviewMgr.findPermissions only find permissions that are already loaded > into ldap? > > > > ----- Original Message ----- > From: "Shawn McKinney" <[email protected]> > To: [email protected] > Sent: Monday, May 15, 2017 3:42:31 PM > Subject: Re: Load Admin Permissions > >> On May 15, 2017, at 2:31 PM, Shawn McKinney <[email protected]> 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
