Skip to content

Commit

Permalink
fixes after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
despadam committed Jan 15, 2025
1 parent 759ba2c commit 55ed046
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
5 changes: 1 addition & 4 deletions src/config/job-config/jobconfig.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ export class JobConfigService {
@Inject(CREATE_JOB_ACTION_CREATORS)
private create_creators: Record<string, JobActionCreator<CreateJobDto>>,
@Inject(UPDATE_JOB_ACTION_CREATORS)
private update_creators: Record<
string,
JobActionCreator<UpdateJobDto>
>,
private update_creators: Record<string, JobActionCreator<UpdateJobDto>>,
configService: ConfigService,
) {
this.filePath = configService.get<string>("jobConfigurationFile") || "";
Expand Down
22 changes: 11 additions & 11 deletions test/config/jobconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,52 +5,52 @@ jobs:
auth: "#all"
actions:
- actionType: log
statusUpdate:
update:
auth: "#all"
- jobType: public_access
create:
auth: "#datasetPublic"
statusUpdate:
update:
auth: "#all"
- jobType: authenticated_access
create:
auth: "#authenticated"
statusUpdate:
update:
auth: "#all"
- jobType: dataset_access
create:
auth: "#datasetAccess"
statusUpdate:
update:
auth: "#jobOwnerGroup"
- jobType: owner_access
create:
auth: "#datasetOwner"
statusUpdate:
update:
auth: "#jobOwnerUser"
- jobType: user_access
create:
auth: user5.1
statusUpdate:
update:
auth: user5.1
- jobType: group_access
create:
auth: "@group5"
statusUpdate:
update:
auth: "@group5"
- jobType: archive
create:
auth: "#all"
statusUpdate:
update:
auth: "#all"
- jobType: retrieve
create:
auth: "#all"
statusUpdate:
update:
auth: "#all"
- jobType: public
create:
auth: "#all"
statusUpdate:
update:
auth: "#all"
- jobType: validate
create:
Expand All @@ -64,7 +64,7 @@ jobs:
type: array
items:
type: string
statusUpdate:
update:
auth: admin
actions:
- actionType: validate
Expand Down

0 comments on commit 55ed046

Please sign in to comment.