diff options
author | muraliparthatechm <muraliparthasarathy.k@techmahindra.com> | 2024-12-18 18:15:17 +0100 |
---|---|---|
committer | muraliparthatechm <muraliparthasarathy.k@techmahindra.com> | 2024-12-19 13:39:05 +0100 |
commit | 32fd1f3c1e22dbeb69e3cc150a6fb1b72ea0ed53 (patch) | |
tree | a068657e6b3d7f87506a30f4ec3ce639cf06c5bc /compose/config/opa-pdp/policies/data/organization/data.json | |
parent | 522cfc28114b076fbcb1da8b2a16894e647ed10c (diff) |
Issue-ID: POLICY-5211
Change-Id: I8b75e6e850fae171fbc75fc67cb59171a78df4e0
Signed-off-by: muraliparthatechm <muraliparthasarathy.k@techmahindra.com>
Diffstat (limited to 'compose/config/opa-pdp/policies/data/organization/data.json')
-rw-r--r-- | compose/config/opa-pdp/policies/data/organization/data.json | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/compose/config/opa-pdp/policies/data/organization/data.json b/compose/config/opa-pdp/policies/data/organization/data.json new file mode 100644 index 00000000..35fe4a14 --- /dev/null +++ b/compose/config/opa-pdp/policies/data/organization/data.json @@ -0,0 +1,32 @@ +{ + "acls": [ + { + "user": "alice", + "actions": [ + "edit", + "read" + ], + "component": "component_A", + "project": "project_A", + "organization": "org_A" + }, + { + "user": "bob", + "actions": ["read"], + "organization": "org_A" + }, + { + "user": "bob", + "action": ["edit"], + "component": "component_A", + "project": "project_B", + "organization": "org_A" + }, + { + "user": "charlie", + "action": ["read"], + "project": "project_B", + "organization": "org_A" + } + ] +} |