Project

General

Profile

bug #7147

GrantedAuthorityRevokingDeleteListener implemented

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

Status:
New
Priority:
New
Category:
cdmlib
Target version:
Start date:
12/21/2017
Due date:
% Done:

0%

Severity:
normal
Found in Version:
Tags:

Description

Once a cdm entitiy is deleted the per entity GrantedAuthoritys which have been created for this specific entity must be deleted.
Currently there is no mechanism for removing these orphan GrantedAuthoritys

Create a common base class for HibernateEventListeners which are modifying GrantedAuthorities, this class should implement the method currently found in the GrantedAuthorityRevokingRegistrationUpdateLister: eu.etaxonomy.cdm.persistence.hibernate.GrantedAuthorityRevokingRegistrationUpdateLister.deleteAuthorities(EventSource session, Set<CdmAuthority> deleteCandidates)


Related issues

Related to Edit - feature request #6867: explicitely assign and revoke UPDATE & DELETE permission per enitity in the registration workflow Closed 12/21/2017
Related to Edit - feature request #7148: GrantedAuthorityRevokingRegistrationUpdateLister: delete orphan references to GrantedAuthorityImpl in User and Group Closed 12/21/2017

History

#1 Updated by Andreas Kohlbecker almost 2 years ago

  • Related to feature request #6867: explicitely assign and revoke UPDATE & DELETE permission per enitity in the registration workflow added

#2 Updated by Andreas Kohlbecker almost 2 years ago

  • Description updated (diff)

#3 Updated by Andreas Kohlbecker about 1 year ago

  • Related to feature request #7148: GrantedAuthorityRevokingRegistrationUpdateLister: delete orphan references to GrantedAuthorityImpl in User and Group added

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)