Project

General

Profile

bug #7520

Updated by Andreas Kohlbecker almost 6 years ago

Currently the `GrantedAuthorityRevokingRegistrationUpdateLister` withdraws GrantedAuthorities from the sumbitter when the RegistrationStatus changes to  

 * RegistrationStatus.PUBLISHED, 
 * RegistrationStatus.READY, 
 * RegistrationStatus.REJECTED 

 It might be better to also revoke permissions when the Registration is passed to the curation. But this would require to restore the permissions when the RegistrationStatus is changed back to PREPARATION. 


 ~~1. Store all revoked GrantedAuthorities in a Extensions of e new Type: RevokedSumbitterAuthorities~~ 
 ~~1. once the RegistationState turns to PUBLISHED oder REJECTED remove the RevokedSumbitterAuthorities?~~ 
 ~~1. Restore the RevokedSumbitterAuthorities for (the current submitter?) once the RegistationState turns back to PREPARATION~~ 

 This first idea has been rejected, see the comments below for other options: 

 * #7520#note-3 : GrantedAuthorities can be disabled 
 * #7520#note-5 : GrantedAuthorities are inferred from the Registration object graph state 
 * ... 

Back