This is an old revision of the document!


Create evaluator with restrictions on one entity

Codeable evaluator is useful for restricting privileges on selected entity. For example, if you want one user to be able to see only other user (with defined username or uuid), or for restricting that user to see only a role (defined by code or uuid).

This tutorial describes how admin can create a new evaluator to achieve that.

There is describes how to create evaluator that restrict permission to see only one identity (user).

In first step we must get username of identity that will be restricted by this new evaluator.

For next step must exists role. For this role will be created new evaluator. If you don't have role please create one. For this role go to submenu Permission and then add new evaluator by button Add.

On modal window select entity type as IdmIdentity. Evaluator type select CodeableEvaluator and then will be shown evaluator configuration with one option identifier. Into identifier can be put uuid or username.

And after save new evaluator will be shown in evaluators table:

Add newly create role with new evaluator to user. This user will obtain a new permission. This permission allow made defined operation/s in evaluator.

In first step we must get code of certification authority.

Code as identifier can be used from version 1.3.0 crt module. For lower version you must use ID (UUID) of certification authority. ID can be found in webrowser URL.

For next step must exists role. For this role will be created new evaluator. If you don't have role please create one. For this role go to submenu Permission and then add new evaluator by button Add.

On modal window select entity type as CrtAuthority. Evaluator type select CodeableEvaluator and then will be shown evaluator configuration with one option identifier. Into identifier can be put uuid or code of certification authority.

And after save new evaluator will be shown in evaluators table:

Add newly create role with new evaluator to user. This user will obtain a new permission. This permission allow made defined operation/s in evaluator.

After this role will be added to user. User will saw only this certification authority.

This restriction of certification authority can be used for add permission for request certificates only by one authority.

  • by fiserp