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: roles:
- Admin - Admin
clients: [ ] clients: [ ]
allowAnonymous: true allowAnonymous: false
allowAuthenticated: false allowAuthenticated: false
EditUser: EditUser:
roles: [ ] roles: [ ]
@ -59,7 +59,7 @@ permissions:
- TenantAdmin - TenantAdmin
entityAffiliated: true entityAffiliated: true
clients: [ ] clients: [ ]
allowAnonymous: true allowAnonymous: false
allowAuthenticated: false allowAuthenticated: false
NewAnnotation: NewAnnotation:
roles: roles:
@ -67,14 +67,14 @@ permissions:
- TenantAdmin - TenantAdmin
entityAffiliated: true entityAffiliated: true
clients: [ ] clients: [ ]
allowAnonymous: true allowAnonymous: false
allowAuthenticated: false allowAuthenticated: false
EditAnnotation: EditAnnotation:
roles: roles:
- Admin - Admin
- TenantAdmin - TenantAdmin
clients: [ ] clients: [ ]
allowAnonymous: true allowAnonymous: false
allowAuthenticated: false allowAuthenticated: false
DeleteAnnotation: DeleteAnnotation:
roles: roles:

View File

@ -235,7 +235,7 @@ public class FileTransformerServiceImpl implements FileTransformerService {
@Override @Override
public org.opencdmp.model.file.FileEnvelope exportDmp(UUID dmpId, String repositoryId, String format) throws InvalidAlgorithmParameterException, NoSuchPaddingException, IllegalBlockSizeException, InvalidApplicationException, NoSuchAlgorithmException, BadPaddingException, InvalidKeyException { 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 //GK: First get the right client
FileTransformerRepository repository = this.getRepository(repositoryId); FileTransformerRepository repository = this.getRepository(repositoryId);
if (repository == null) throw new MyNotFoundException(this.messageSource.getMessage("General_ItemNotFound", new Object[]{format, FileTransformerRepository.class.getSimpleName()}, LocaleContextHolder.getLocale())); 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 @Override
public org.opencdmp.model.file.FileEnvelope exportDescription(UUID descriptionId, String repositoryId, String format) throws InvalidAlgorithmParameterException, NoSuchPaddingException, IllegalBlockSizeException, InvalidApplicationException, NoSuchAlgorithmException, BadPaddingException, InvalidKeyException { 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 //GK: First get the right client
FileTransformerRepository repository = this.getRepository(repositoryId); FileTransformerRepository repository = this.getRepository(repositoryId);
if (repository == null) throw new MyNotFoundException(this.messageSource.getMessage("General_ItemNotFound", new Object[]{format, FileTransformerRepository.class.getSimpleName()}, LocaleContextHolder.getLocale())); 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: roles:
- Admin - Admin
clients: [ ] clients: [ ]
allowAnonymous: true allowAnonymous: false
allowAuthenticated: false allowAuthenticated: false
EditUser: EditUser:
roles: [] roles: []
@ -51,7 +51,7 @@ permissions:
- Admin - Admin
- InstallationAdmin - InstallationAdmin
clients: [ "opencdmp-api-dev" ] clients: [ "opencdmp-api-dev" ]
allowAnonymous: true allowAnonymous: false
allowAuthenticated: false allowAuthenticated: false
EditUserContactInfo: EditUserContactInfo:
roles: roles:
@ -73,13 +73,13 @@ permissions:
roles: roles:
- Admin - Admin
clients: [ ] clients: [ ]
allowAnonymous: true allowAnonymous: false
allowAuthenticated: false allowAuthenticated: false
EditNotification: EditNotification:
roles: roles:
- Admin - Admin
clients: [ ] clients: [ ]
allowAnonymous: true allowAnonymous: false
allowAuthenticated: false allowAuthenticated: false
DeleteNotification: DeleteNotification:
roles: roles:
@ -115,7 +115,7 @@ permissions:
roles: roles:
- Admin - Admin
clients: [ ] clients: [ ]
allowAnonymous: true allowAnonymous: false
allowAuthenticated: false allowAuthenticated: false
EditUserNotificationPreference: EditUserNotificationPreference:
roles: 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