generated from coulomb/repo-seed
Access controlled knowledge gateway functionality
This commit is contained in:
16
examples/policy/local-label-policy.yaml
Normal file
16
examples/policy/local-label-policy.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
id: markitect-local-label-policy
|
||||
mode: enforce
|
||||
default_labels: [public]
|
||||
default_subject: public-agent
|
||||
subjects:
|
||||
public-agent:
|
||||
allowed_labels: [public]
|
||||
trust_zones: [public]
|
||||
internal-agent:
|
||||
allowed_labels: [public, internal]
|
||||
trust_zones: [public, internal]
|
||||
path_rules:
|
||||
- id: private-path
|
||||
pattern: private/**
|
||||
labels: [internal]
|
||||
trust_zone: internal
|
||||
Reference in New Issue
Block a user