diff options
| author | mo khan <mo@mokhan.ca> | 2025-03-31 14:04:02 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-03-31 14:04:02 -0600 |
| commit | 1ad773fc61e59345faf63548292062d135c7f459 (patch) | |
| tree | 9cce20de7e989bb66a282929202eef05855b863c /doc/share/authz | |
| parent | 3049ea5bb068476ac4b458c4d682c49fd2b54dde (diff) | |
docs: remove example ruby code
Diffstat (limited to 'doc/share/authz')
| -rw-r--r-- | doc/share/authz/POLICY.md | 31 | ||||
| -rw-r--r-- | doc/share/authz/sns.dot | 5 | ||||
| -rw-r--r-- | doc/share/authz/sns.dot.png | bin | 20506 -> 0 bytes |
3 files changed, 0 insertions, 36 deletions
diff --git a/doc/share/authz/POLICY.md b/doc/share/authz/POLICY.md index 42b8579c..669c0b91 100644 --- a/doc/share/authz/POLICY.md +++ b/doc/share/authz/POLICY.md @@ -109,37 +109,6 @@ for applying reasoning and assertions to domain-agnostic, structured data. * [Go binding](https://github.com/microsoft/regorus/tree/main/bindings/go) * [Ruby binding](https://github.com/microsoft/regorus/tree/main/bindings/ruby) -## Security Context/Scope - -1. Single resource -1. Nested resources -1. Individual Attributes on a resource - -## Example - -The following hierarchy will be used as the basis for expression policy. - -```ruby -class Organization - has_many :groups -end - -class Group - belongs_to :organization - has_many :projects -end - -class Project - belongs_to :group - has_many :issues -end - -class Issue -end -``` - -[Social Network Graph](./sns.dot.png) - ## See Also * [Zanzibar](./ZANZIBAR.md) diff --git a/doc/share/authz/sns.dot b/doc/share/authz/sns.dot deleted file mode 100644 index 9197928c..00000000 --- a/doc/share/authz/sns.dot +++ /dev/null @@ -1,5 +0,0 @@ -digraph { - Group -> Organization[label="belongs_to"]; - Project -> Group[label="belongs_to"]; - Issue -> Project[label="belongs_to"]; -} diff --git a/doc/share/authz/sns.dot.png b/doc/share/authz/sns.dot.png Binary files differdeleted file mode 100644 index dc300923..00000000 --- a/doc/share/authz/sns.dot.png +++ /dev/null |
