notification template file changes

This commit is contained in:
amentis 2024-06-05 16:38:27 +03:00
parent 9cad8d2b88
commit 5319d5565e
24 changed files with 32 additions and 32 deletions

View File

@ -39,7 +39,7 @@ permissions:
roles:
- Admin
clients: [ ]
allowAnonymous: true
allowAnonymous: false
allowAuthenticated: false
EditUser:
roles: [ ]
@ -59,7 +59,7 @@ permissions:
- TenantAdmin
entityAffiliated: true
clients: [ ]
allowAnonymous: true
allowAnonymous: false
allowAuthenticated: false
NewAnnotation:
roles:
@ -67,14 +67,14 @@ permissions:
- TenantAdmin
entityAffiliated: true
clients: [ ]
allowAnonymous: true
allowAnonymous: false
allowAuthenticated: false
EditAnnotation:
roles:
- Admin
- TenantAdmin
clients: [ ]
allowAnonymous: true
allowAnonymous: false
allowAuthenticated: false
DeleteAnnotation:
roles:

View File

@ -235,7 +235,7 @@ public class FileTransformerServiceImpl implements FileTransformerService {
@Override
public org.opencdmp.model.file.FileEnvelope exportDmp(UUID dmpId, String repositoryId, String format) throws InvalidAlgorithmParameterException, NoSuchPaddingException, IllegalBlockSizeException, InvalidApplicationException, NoSuchAlgorithmException, BadPaddingException, InvalidKeyException {
this.authorizationService.authorizeForce(Permission.EditDmp);
this.authorizationService.authorizeForce(Permission.ExportDmp);
//GK: First get the right client
FileTransformerRepository repository = this.getRepository(repositoryId);
if (repository == null) throw new MyNotFoundException(this.messageSource.getMessage("General_ItemNotFound", new Object[]{format, FileTransformerRepository.class.getSimpleName()}, LocaleContextHolder.getLocale()));
@ -255,7 +255,7 @@ public class FileTransformerServiceImpl implements FileTransformerService {
@Override
public org.opencdmp.model.file.FileEnvelope exportDescription(UUID descriptionId, String repositoryId, String format) throws InvalidAlgorithmParameterException, NoSuchPaddingException, IllegalBlockSizeException, InvalidApplicationException, NoSuchAlgorithmException, BadPaddingException, InvalidKeyException {
this.authorizationService.authorizeForce(Permission.EditDmp);
this.authorizationService.authorizeForce(Permission.ExportDescription);
//GK: First get the right client
FileTransformerRepository repository = this.getRepository(repositoryId);
if (repository == null) throw new MyNotFoundException(this.messageSource.getMessage("General_ItemNotFound", new Object[]{format, FileTransformerRepository.class.getSimpleName()}, LocaleContextHolder.getLocale()));

View File

@ -32,7 +32,7 @@ permissions:
roles:
- Admin
clients: [ ]
allowAnonymous: true
allowAnonymous: false
allowAuthenticated: false
EditUser:
roles: []
@ -51,7 +51,7 @@ permissions:
- Admin
- InstallationAdmin
clients: [ "opencdmp-api-dev" ]
allowAnonymous: true
allowAnonymous: false
allowAuthenticated: false
EditUserContactInfo:
roles:
@ -73,13 +73,13 @@ permissions:
roles:
- Admin
clients: [ ]
allowAnonymous: true
allowAnonymous: false
allowAuthenticated: false
EditNotification:
roles:
- Admin
clients: [ ]
allowAnonymous: true
allowAnonymous: false
allowAuthenticated: false
DeleteNotification:
roles:
@ -115,7 +115,7 @@ permissions:
roles:
- Admin
clients: [ ]
allowAnonymous: true
allowAnonymous: false
allowAuthenticated: false
EditUserNotificationPreference:
roles:

View File

@ -1 +1 @@
ARGOS - Description Finalised
OpenCDMP - Description Finalised

View File

@ -1 +1 @@
ARGOS - Description Finalised
OpenCDMP - Description Finalised

View File

@ -1 +1 @@
ARGOS - Description Modified
OpenCDMP - Description Modified

View File

@ -1 +1 @@
ARGOS - Description Modified
OpenCDMP - Description Modified

View File

@ -1 +1 @@
ARGOS - Description Template Invite
OpenCDMP - Description Template Invite

View File

@ -1 +1 @@
ARGOS - Description Template Invite
OpenCDMP - Description Template Invite

View File

@ -1 +1 @@
ARGOS - Merge Account Confirmation
OpenCDMP - Merge Account Confirmation

View File

@ -1 +1 @@
ARGOS - Merge Account Confirmation
OpenCDMP - Merge Account Confirmation

View File

@ -1 +1 @@
ARGOS - Data Management Plan Invite
OpenCDMP - Plan Invite

View File

@ -1 +1 @@
ARGOS - Data Management Plan Invite
OpenCDMP - Plan Invite

View File

@ -1 +1 @@
ARGOS - Data Management Plan Invite
OpenCDMP - Plan Invite

View File

@ -1 +1 @@
ARGOS - Unlink Email Confirmation
OpenCDMP - Unlink Email Confirmation

View File

@ -1 +1 @@
ARGOS - Unlink Email Confirmation
OpenCDMP - Unlink Email Confirmation