Project

General

Profile

feature request #7020

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

Added by Andreas Kohlbecker almost 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
New
Category:
cdmlib
Target version:
Start date:
05/19/2017
Due date:
% Done:

0%

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 SpecimenOrObservationBase Closed 05/19/2017

Associated revisions

Revision 88249c56 (diff)
Added by Andreas Kohlbecker almost 2 years ago

fix #7018 ref #7020 simple permission voter and authorities for SpecimenOrObservationBase implemented, more complex voter implementation postponed

History

#1 Updated by Andreas Kohlbecker almost 2 years ago

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

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)