File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export default class StatusActionQueries {
2828 public emailTemplateDataSource : EmailTemplateDataSource
2929 ) { }
3030
31- @Authorized ( [ Roles . USER_OFFICER ] )
31+ @Authorized ( [ Roles . USER_OFFICER , Roles . INSTRUMENT_SCIENTIST ] )
3232 async getStatusAction ( agent : UserWithRole | null , actionId : number ) {
3333 const statusAction = await this . dataSource . getStatusAction ( actionId ) ;
3434
@@ -42,15 +42,15 @@ export default class StatusActionQueries {
4242 return statusActions ;
4343 }
4444
45- @Authorized ( [ Roles . USER_OFFICER ] )
45+ @Authorized ( [ Roles . USER_OFFICER , Roles . INSTRUMENT_SCIENTIST ] )
4646 async getConnectionStatusActions (
4747 agent : UserWithRole | null ,
4848 { workflowConnectionId } : { workflowConnectionId : number }
4949 ) {
5050 return this . dataSource . getConnectionStatusActions ( workflowConnectionId ) ;
5151 }
5252
53- @Authorized ( [ Roles . USER_OFFICER ] )
53+ @Authorized ( [ Roles . USER_OFFICER , Roles . INSTRUMENT_SCIENTIST ] )
5454 async getStatusActionConfig (
5555 agent : UserWithRole | null ,
5656 statusAction : StatusAction
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export default class WorkflowQueries {
1717 public emailService : MailService
1818 ) { }
1919
20- @Authorized ( [ Roles . USER_OFFICER ] )
20+ @Authorized ( [ Roles . USER_OFFICER , Roles . INSTRUMENT_SCIENTIST ] )
2121 async getWorkflow (
2222 agent : UserWithRole | null ,
2323 id : number ,
You can’t perform that action at this time.
0 commit comments