Category Archives: Plug-ins for authorization

Plugin Find user group in authorization packages

With this plug-in you can find in which authorization packages a user group is used. The following authorization package types are scanned:

  • authorization packages
  • details authorization packages
  • content class authorization packages
  • project variant authorization packages
  • language variant authorization packages

Global, plug-in and folder authorization packages are not included yet.

Benefits
This is very helpful when you did not know in detail anymore how the setup was implemented or you are working in a project originally created by another person.  I can imagine, that this plug-in would be helpful for partners for the last mentioned reason.

The MS at least in V9 did not offer this functionality. You have to go through all packages of all types manually, what I felt is not acceptable. Therefore I wrote this plug-in.

Location in SmartTree
You found the plug-in on node Administer Project Settings > Packages.

How it works
In the first screen you get a list of all connected user groups of your current project. You have to select one user group before you can proceed.

Click the button Find authorization packages to start the scanning. After only a short time you get the result.

With this information you can go back into SmartTree to check or change the respective authorization packages directly.

Installation
This plug-in can be installed using the combined setup routine for all jRQL API based plug-ins. Follow the instructions in this blog to download the installer and configure the plug-ins you want.

For API developers
The functionality is backed solely by the method Project > collectAuthorizationPackagesContaining().

While in the older plug-ins often the scanning code is implemented within the plug-in itself I extended jRQL instead in the latest plug-ins I wrote. This makes the code more reusable.

Plug-in Show users in user group

With this plug-in you can immediately in SmartTree check, if a user you might have on the phone can access a specific page. You only need to open the authorization package on the page, select the user group within and start this plug-in to see all user within the selected user group.

Benefits
This plug-in is very handy, because it frees you to switch to the ServerManager module for the simple check, if a user is contained within an user group.

Every person working in support will love this tool, because it speeds up an authorization check dramatically.

Location in SmartTree
You found the plug-in on

  • on every authorization package user group
  • on every detailed authorization package user group

How it works
First open the authorization package (regardless of what type it is) and select the user group. From the menu right start the plug-in and you will get immediately, means without any further clicks needed the result.

You get a table with the user short and full name, the e-mail address and the description. You can immedeately send the author an e-mail from this table.

The plug-in show you the number of users in the group below the table.

Installation
This plug-in can be installed using the combined setup routine for all jRQL API based plug-ins. Follow the instructions in this blog to download the installer and configure the plug-ins you want.

For API developers
The functionality is delivered mainly be the method UserGroup > getUsers().

Per row some of the most important user attributes are displayed. If you want to extend the table, check the class User for the attributes available. Maybe some values from your LDAP directory (configurable in rql_fw.properties) or if the user is SiteBuilder.