From ec7194c050032eaec2068c4cd1856a4212db126a Mon Sep 17 00:00:00 2001 From: Gerald Baulig Date: Thu, 18 Apr 2024 10:47:15 +0200 Subject: [PATCH] fix(shops): fix missing rule in orga policy --- datasets/demo-shop/data/seed-data/users.yaml | 6 +++--- datasets/system/data/seed-data/policies.yaml | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/datasets/demo-shop/data/seed-data/users.yaml b/datasets/demo-shop/data/seed-data/users.yaml index 5d6801d..f8a9a80 100644 --- a/datasets/demo-shop/data/seed-data/users.yaml +++ b/datasets/demo-shop/data/seed-data/users.yaml @@ -497,7 +497,7 @@ attributes: - id: urn:restorecommerce:acs:names:roleScopingInstance value: restorecommerce-demo-shops-organization - - id: restorecommerce-demo-customer-000-organization-user-r-id + - id: restorecommerce-demo-customer-001-organization-user-r-id role: user-r-id attributes: - id: urn:restorecommerce:acs:names:roleScopingEntity @@ -566,14 +566,14 @@ attributes: - id: urn:restorecommerce:acs:names:roleScopingInstance value: restorecommerce-demo-shops-organization - - id: restorecommerce-demo-customer-002-organization-user-r-id + - id: restorecommerce-demo-customers-organization-user-r-id role: user-r-id attributes: - id: urn:restorecommerce:acs:names:roleScopingEntity value: urn:restorecommerce:acs:model:organization.Organization attributes: - id: urn:restorecommerce:acs:names:roleScopingInstance - value: restorecommerce-demo-customer-002-organization + value: restorecommerce-demo-customers-organization - id: system-scope-r-id role: scoped-r-id attributes: diff --git a/datasets/system/data/seed-data/policies.yaml b/datasets/system/data/seed-data/policies.yaml index a0352dd..f880814 100644 --- a/datasets/system/data/seed-data/policies.yaml +++ b/datasets/system/data/seed-data/policies.yaml @@ -524,6 +524,7 @@ - moderator-permits-update-hr-scoped - moderator-permits-read-hr-scoped - member-permits-read-hr-scoped + - customer-permits-read-hr-scoped - fallback-deny-all meta: modifiedBy: ""