Skip to content

Commit

Permalink
fix(policy-set): add super_admin_policy_id
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Baulig committed Jul 10, 2024
1 parent 4427259 commit f14a23a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions datasets/demo-shop/jobs/job_master.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
"concurrency": 1
},
"tasks": [
{
"name": "organizations",
"operation": "sync",
"filter": "organizations.yaml",
"mutation": "mutation mutateOrganizations($var: [IIoRestorecommerceOrganizationOrganization!]!){ master_data { organization { Mutate( input: { items: $var, totalCount: 0, mode: UPSERT } ) { details{items {status {id, code, message}}, operationStatus { code message } } } } } }"
},
{
"name": "addresses",
"operation": "sync",
Expand All @@ -22,6 +16,12 @@
"filter": "contact_points.yaml",
"mutation": "mutation{ master_data { contact_point { Mutate( input: { items: ${resource_list}, totalCount: 0, mode: UPSERT } ) { details{items {status {id, code, message}}, operationStatus { code message } } } } } }"
},
{
"name": "organizations",
"operation": "sync",
"filter": "organizations.yaml",
"mutation": "mutation mutateOrganizations($var: [IIoRestorecommerceOrganizationOrganization!]!){ master_data { organization { Mutate( input: { items: $var, totalCount: 0, mode: UPSERT } ) { details{items {status {id, code, message}}, operationStatus { code message } } } } } }"
},
{
"name": "customers",
"operation": "sync",
Expand Down
3 changes: 2 additions & 1 deletion datasets/system/data/seed-data/policy_sets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
id: system-policy-set
name: System Policy Set
description: Contains all policies for Restorecommerce
combiningAlgorithm: urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:deny-overrides
combiningAlgorithm: urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:permit-overrides
target:
actions: [ ]
subjects: [ ]
resources: [ ]
policies:
- super_admin_policy_id
- address-policy
- command-policy
- contact-point-type-policy
Expand Down

0 comments on commit f14a23a

Please sign in to comment.