Skip to content

RASCHCM-48 enables custom authorizer for ClassIdentity

Raphael Mäder requested to merge RASCHCM-48 into master

Created by: akaradzha

this commit fixes handling of custom authorizer for 'ClassIdentity' permission target.

Steps to reproduce:

  1. create custom authorizer that implements Authorizer interface
  2. bind custom authorize to class, that represent domainPermission type, by annotation @WithAuthorizer
  3. try to check permission with authApi.requirePermission for classIdentity
  4. check that custom Authorizer doesn't tight to classIdentity in AccessControlManager, that means it doesn't fire up.

Merge request reports