Skip to content

Commit 3082e20

Browse files
author
Gerald Baulig
committed
fix(fulfillment): add fulfillment-submit policy
1 parent cdbe10e commit 3082e20

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

datasets/system/data/seed-data/policies.yaml

+24
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,30 @@
309309
- id: urn:restorecommerce:acs:names:ownerInstance
310310
value: system
311311
combiningAlgorithm: urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:permit-overrides
312+
---
313+
id: fulfillment-submit-policy
314+
name: Fulfillment Submit Policy
315+
description: Policy for operation Submit Fulfillments
316+
evaluationCacheable: false
317+
effect: PERMIT
318+
target:
319+
actions: [ ]
320+
subjects: [ ]
321+
resources:
322+
- id: urn:restorecommerce:acs:names:operation
323+
value: execution.submitFulfillments
324+
rules:
325+
- administrator-permits-all-hr-scoped
326+
- sales-permits-all-hr-scoped
327+
- fallback-deny-all
328+
meta:
329+
owners:
330+
- id: urn:restorecommerce:acs:names:ownerIndicatoryEntity
331+
value: urn:restorecommerce:acs:model:organization.Organization
332+
attributes:
333+
- id: urn:restorecommerce:acs:names:ownerInstance
334+
value: system
335+
combiningAlgorithm: urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:permit-overrides
312336
---
313337
id: invoice-policy
314338
name: Invoice Policy

datasets/system/data/seed-data/policy_sets.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
- fulfillment-courier-policy
2020
- fulfillment-product-policy
2121
- fulfillment-policy
22+
- fulfillment-submit-policy
2223
- invoice-policy
2324
- locale-policy
2425
- manufacturer-policy

0 commit comments

Comments
 (0)