Skip to content

Commit

Permalink
policy
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Baulig committed Oct 24, 2024
1 parent 3082e20 commit 4c61494
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions datasets/system/data/seed-data/policies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,30 @@
- id: urn:restorecommerce:acs:names:ownerInstance
value: system
combiningAlgorithm: urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:permit-overrides
---
id: fulfillment-evaluate-policy
name: Fulfillment Evaluate Policy
description: Policy for operation Evaluate Fulfillments
evaluationCacheable: false
effect: PERMIT
target:
actions: [ ]
subjects: [ ]
resources:
- id: urn:restorecommerce:acs:names:operation
value: execution.evaluateFulfillments
rules:
- administrator-permits-all-hr-scoped
- sales-permits-all-hr-scoped
- fallback-deny-all
meta:
owners:
- id: urn:restorecommerce:acs:names:ownerIndicatoryEntity
value: urn:restorecommerce:acs:model:organization.Organization
attributes:
- id: urn:restorecommerce:acs:names:ownerInstance
value: system
combiningAlgorithm: urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:permit-overrides
---
id: invoice-policy
name: Invoice Policy
Expand Down
1 change: 1 addition & 0 deletions datasets/system/data/seed-data/policy_sets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- fulfillment-courier-policy
- fulfillment-product-policy
- fulfillment-policy
- fulfillment-evaluate-policy
- fulfillment-submit-policy
- invoice-policy
- locale-policy
Expand Down

0 comments on commit 4c61494

Please sign in to comment.