The problem

Any ClearQuest administrator is confronted by the permissions management problem, particularly when there are several user databases associated to a single schema:

Particularly during the start-up of a project, permissions should be immediately changeable, preferably on a per database basis.

The solution

The solution consists in moving the permissions management at the user database level:

The CheckPermissions hook may handle special cases: for example, only the author of a record can change it as long as it stays at the Submitted state, only the assigned user can open a bug, etc.

All possible transitions must be referenced in the Permissions table, unless they are reserved to the administrators only: by default, permission is not granted.

No significant performance loss has been detected.

The offer

This solution is available the following way: the customer sends a dump of her schema, it is sent back with this permissions mechanism implemented, along with a script that generates default permissions. This offer is limited to Perl language.

The picture below shows the Permissions form.