Project

General

Profile

Actions

task #7100

open

Split CdmAuthority into operations and filters

Added by Andreas Müller over 5 years ago. Updated over 1 year ago.

Status:
New
Priority:
New
Category:
cdm
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Severity:
normal
Tags:

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

Related to EDIT - task #7099: Make CdmAuthority a persistable classClosedAndreas Müller

Actions
Related to EDIT - task #7089: Rights and Roles Workshop 2017-11In ProgressAndreas Müller

Actions
Related to EDIT - feature request #8464: Make AuthorityBases uniqueNewAndreas Müller

Actions
Related to EDIT - bug #8473: Migrate from GrantedAuthoritiesImpl to CdmAuthority and RoleNewAndreas Kohlbecker

Actions
Actions #1

Updated by Andreas Müller over 5 years ago

  • Related to task #7099: Make CdmAuthority a persistable class added
Actions #2

Updated by Andreas Müller over 5 years ago

  • Description updated (diff)
Actions #3

Updated by Andreas Kohlbecker over 5 years ago

  • Tracker changed from bug to task
Actions #4

Updated by Andreas Müller over 3 years ago

  • Description updated (diff)
Actions #5

Updated by Andreas Müller over 3 years ago

  • Related to task #7089: Rights and Roles Workshop 2017-11 added
Actions #6

Updated by Andreas Müller over 3 years ago

Actions #7

Updated by Andreas Müller over 3 years ago

  • Related to bug #8473: Migrate from GrantedAuthoritiesImpl to CdmAuthority and Role added
Actions #8

Updated by Andreas Müller over 1 year ago

  • Target version changed from Unassigned CDM tickets to CDM UML 5.36
Actions

Also available in: Atom PDF