Project

General

Profile

bug #6405

CdmPermissionVoter handles merged and separate CdmAuthorities the same

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

Status:
Closed
Priority:
New
Category:
cdmlib
Target version:
Start date:
02/02/2017
Due date:
% Done:

100%

Severity:
normal
Found in Version:
Tags:

Description

The CdmPermissionVoter must take all CdmAuthorities into account which only differ by the property if any is defined at all.

For example:

 TAXONBASE.[CREATE]
 TAXONBASE.[READ]
 TAXONBASE.[UPDATE]
 TAXONBASE.[DELETE]

should be handled exactly the same like.

 TAXONBASE.[CREATE,READ,UPDATE,DELETE]

see related cdmlib|5cb08c3f which was a temporary and quick solution to make the tests succeed again, but which did not solve the problem.


Related issues

Related to Edit - task #6401: Update working environment to jdk 1.8 Closed 02/01/2017

Associated revisions

Revision 792e3464 (diff)
Added by Andreas Kohlbecker almost 2 years ago

ref #6405 tests for the CdmPermissionVoter

Revision 3e29fc14 (diff)
Added by Andreas Kohlbecker almost 2 years ago

fix #6405 more tests for CdmPermissionVoter.furtherVotingDescisions and fixing the premature returning of DENIED votes made there

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

Revert "ref #6401 fix failing SecurityTest (due to wrong handling of furtherVotingResult in CdmPermissionVoter"

This reverts commit 5cb08c3f89abfd1bcb5af75f0b2882798418f27a.

History

#1 Updated by Andreas Kohlbecker almost 2 years ago

  • Description updated (diff)

#2 Updated by Andreas Kohlbecker almost 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

#4 Updated by Andreas Kohlbecker almost 2 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 50 to 100

#5 Updated by Andreas Müller almost 2 years ago

  • Related to task #6401: Update working environment to jdk 1.8 added

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)