Project

General

Profile

Actions

feature request #7020

open

Allow SpecimenOrObservationBaseVoter to make futher voting decision on base of multiple authorities

Added by Andreas Kohlbecker over 5 years ago. Updated over 5 years ago.

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

0%

Estimated time:
Severity:
normal
Tags:

Description

DerivedUnits and DerivationEvents can form graphs with multiple roots.

fuA -- duA
          \
           duAB -- du2
          /
fuB -- duB

In order to modify du2 it is either necessary to have the per entity authority for

*(1) duAB, as mentioned above, or
*(2) for fuA AND fuB.

(1) has been implemented in #7018 but the second (2) approach is however not feasible with the current CdmAuthorities and the CdmPermissionVoter.furtherVotingDescisions((CdmAuthority cdmAuthority, Object object, Collection<ConfigAttribute> attributes, ValidationResult validationResult) which is only able to operate on one CdmAuthority at the same time. To make it possible to validate permissions as in (2) it would be needed to pass all CdmAuthority for which the voter is responsible for to the furtherVotingDescisions method.


Related issues

Copied from EDIT - feature request #7018: implement a CdmPermissionVoter and default authorities for SpecimenOrObservationBaseClosedAndreas Kohlbecker

Actions
Actions #1

Updated by Andreas Kohlbecker over 5 years ago

  • Copied from feature request #7018: implement a CdmPermissionVoter and default authorities for SpecimenOrObservationBase added
Actions

Also available in: Atom PDF