notification template file changes
This commit is contained in:
parent
9cad8d2b88
commit
5319d5565e
|
@ -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:
|
||||||
|
|
|
@ -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()));
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
ARGOS - {subject}
|
OpenCDMP - {subject}
|
|
@ -1 +1 @@
|
||||||
ARGOS - Description Finalised
|
OpenCDMP - Description Finalised
|
|
@ -1 +1 @@
|
||||||
ARGOS - Description Finalised
|
OpenCDMP - Description Finalised
|
|
@ -1 +1 @@
|
||||||
ARGOS - Description Modified
|
OpenCDMP - Description Modified
|
|
@ -1 +1 @@
|
||||||
ARGOS - Description Modified
|
OpenCDMP - Description Modified
|
|
@ -1 +1 @@
|
||||||
ARGOS - Description Template Invite
|
OpenCDMP - Description Template Invite
|
|
@ -1 +1 @@
|
||||||
ARGOS - Description Template Invite
|
OpenCDMP - Description Template Invite
|
|
@ -1 +1 @@
|
||||||
ARGOS - Merge Account Confirmation
|
OpenCDMP - Merge Account Confirmation
|
|
@ -1 +1 @@
|
||||||
ARGOS - Merge Account Confirmation
|
OpenCDMP - Merge Account Confirmation
|
|
@ -1 +1 @@
|
||||||
ARGOS - Plan Deposit
|
OpenCDMP - Plan Deposit
|
|
@ -1 +1 @@
|
||||||
ARGOS - Plan Deposit
|
OpenCDMP - Plan Deposit
|
|
@ -1 +1 @@
|
||||||
ARGOS - Plan Finalised
|
OpenCDMP - Plan Finalised
|
|
@ -1 +1 @@
|
||||||
ARGOS - Plan Finalised
|
OpenCDMP - Plan Finalised
|
|
@ -1 +1 @@
|
||||||
ARGOS - Data Management Plan Invite
|
OpenCDMP - Plan Invite
|
|
@ -1 +1 @@
|
||||||
ARGOS - Data Management Plan Invite
|
OpenCDMP - Plan Invite
|
|
@ -1 +1 @@
|
||||||
ARGOS - Data Management Plan Invite
|
OpenCDMP - Plan Invite
|
|
@ -1 +1 @@
|
||||||
ARGOS - Plan Modified
|
OpenCDMP - Plan Modified
|
|
@ -1 +1 @@
|
||||||
ARGOS - Plan Modified
|
OpenCDMP - Plan Modified
|
|
@ -1 +1 @@
|
||||||
ARGOS - {subject}
|
OpenCDMP - {subject}
|
|
@ -1 +1 @@
|
||||||
ARGOS - Unlink Email Confirmation
|
OpenCDMP - Unlink Email Confirmation
|
|
@ -1 +1 @@
|
||||||
ARGOS - Unlink Email Confirmation
|
OpenCDMP - Unlink Email Confirmation
|
Loading…
Reference in New Issue