Skip to content

Commit

Permalink
docs: include namespace in olymp library example (#540)
Browse files Browse the repository at this point in the history
  • Loading branch information
devpolo authored Apr 9, 2021
1 parent e7a81d9 commit 135e814
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/versioned_docs/version-v0.6/examples/olymp-file-sharing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ containing the most fertile grounds. The file gets assigned the UUID
[write-API](../concepts/api-overview.mdx#write-apis):

```keto-relation-tuples
ec788a82-a12e-45a4-b906-3e69f78c94e4#owner@demeter
files:ec788a82-a12e-45a4-b906-3e69f78c94e4#owner@demeter
```

To prepare for an important meeting with the user `athena`, `demeter` wants to
Expand All @@ -46,7 +46,7 @@ The user `demeter` will then ask the application to share the file with
following relation tuple to Ory Keto:

```keto-relation-tuples
ec788a82-a12e-45a4-b906-3e69f78c94e4#access@athena
files:ec788a82-a12e-45a4-b906-3e69f78c94e4#access@athena
```

To confirm the successful operation, the application uses Ory Keto's
Expand All @@ -55,14 +55,14 @@ of everyone who can access the file:

```keto-relation-tuples
// The following subject set is expanded by Keto
ec788a82-a12e-45a4-b906-3e69f78c94e4#access
files:ec788a82-a12e-45a4-b906-3e69f78c94e4#access
```

which returns the expansion tree

```
∪ ec788a82-a12e-45a4-b906-3e69f78c94e4#access
├─ ∪ ec788a82-a12e-45a4-b906-3e69f78c94e4#owner
files:ec788a82-a12e-45a4-b906-3e69f78c94e4#access
├─ ∪ files:ec788a82-a12e-45a4-b906-3e69f78c94e4#owner
│ ├─ ☘ demeter
├─ ☘ athena
```
Expand Down

0 comments on commit 135e814

Please sign in to comment.