task #7100
openSplit CdmAuthority into operations and filters
0%
Description
Currently CdmAuthorities included operation evalution information (operation attribute) and filter information (permissionClass, property, targetUuid). Filter information needs to be concatenatable while the operation information is unique for all dimensions of the authority. Also filters may be reusable in other contexts (e.g. a subtree filter) - but be careful not to influence rights by redefining filters.
Therefore we may want to separate these 2 functionalities into 2 classes, the CdmAuthority class which holds operation evaluation information and CdmFilter, which holds the other information and which is referenced by CdmAuthority.
Filters can be concatenated, where the implementation of a filter needs to know how to integrate the subfilter (otherwise a filter not supported operation is thrown).
Filters are pure filter definitions. Implementing class may depend on the context the filter is used for. E.g. a filter implementation for a data export may look different then the one for granted authorities. The required implementation may be loaded via factory methods, spring prototypes, ...
Filters and authorities may have human readable representations such as "Filter on classification abc"
https://dev.e-taxonomy.eu/redmine/projects/edit/wiki/WorkshopRightsAndRoles2017-11
Related issues
Updated by Andreas Müller over 5 years ago
- Related to task #7099: Make CdmAuthority a persistable class added
Updated by Andreas Müller over 3 years ago
- Related to task #7089: Rights and Roles Workshop 2017-11 added
Updated by Andreas Müller over 3 years ago
- Related to feature request #8464: Make AuthorityBases unique added
Updated by Andreas Müller over 3 years ago
- Related to bug #8473: Migrate from GrantedAuthoritiesImpl to CdmAuthority and Role added
Updated by Andreas Müller over 1 year ago
- Target version changed from Unassigned CDM tickets to CDM UML 5.36