Manage rights generically (experts)

Requirements

To be able to call up Generic Rights Management, the "Activate options for experts" checkbox must be activated under "Extras > Options > Portals".

Target audience

Generic rights management is designed for experts who want to manage additional rights beyond the dialog-supported assignment of rights. To use the function, it is helpful if you are familiar with "Java Permission Classes".

Functional description

With the Generic rights management, you have the option of assigning the rights classes provided by Intrexx and your own rights classes to specific objects. You can then assign the objects to rights holders. You can specify which actions are to be executed in each case. Later, you can use Groovy, for example, to query at runtime whether a specific rights holder is allowed to perform a specific action for a specific object and react accordingly.

The following is an example of how to add a (further) rights holder to an Intrexx rights class and how to add an additional right.

Use Intrexx rights classes - Add rights holder

Step-by-step guide

To add an (additional) rights holder to an Intrexx rights class, proceed as follows:

  1. Open the "Rights class" selection list.

    The rights classes provided or used by Intrexx are displayed.

    You can find information on Intrexx rights classes under the following links:

  2. Select the desired rights class () .

    In the screenshot below, the permission class de.uplanet.lucy.security.permission.ApplicationPermission has been selected.

    All objects (applications) that use this rights class are displayed in the "Object" area () . In this case, the identifier is the GUID of the respective application.

    As soon as you select an identifier, the rights holders are displayed in the "Rights holders" area () .

    As soon as you select a rights holder, the permitted actions are displayed in the "Actions" field () . The "Actions" field is an input field. Here you can add or remove actions (separated by commas).

  3. Click on the icon.

    The "Add authorized object" dialog box is displayed.

  4. Select the desired rights holder.

    The rights holder is displayed.

  5. Enter the desired rights in the "Actions" field.

    The screenshot below shows the rights administration,access.

  6. Click on "Finish".

More information

Application permissions

Add your own rights classes

Step-by-step guide

To add your own or a new rights class, proceed as follows:

  1. Click on the icon.

    The "Rights class" dialog box is displayed.

  2. Enter the rights class.

    In the screenshot below, this is java.io.FilePermission.

  3. Click on "OK".

    You return to the "Generic rights management" dialog box.

    The recorded rights class is displayed.

  4. Click on the icon.

    A new line is displayed in the "Object" area.

  5. Click in the new line and enter the identifier.

    In the screenshot below, this is a path to a file.

    (Compare Class FilePermission.)

  6. Click on the icon in the "Rights holder" area.

  7. The "Add authorized object" dialog box is displayed.

  8. Select the desired rights holder.

    You return to the "Generic rights management" dialog box.

    The rights holder is displayed.

  9. Enter the desired rights in the "Actions" field.

    The screenshot below shows the read,writerights.

  10. Click on "Finish".

More information