Skip to content

docs: update keto examples to use subjectsets#2448

Open
DavudSafarli wants to merge 6 commits intomasterfrom
keto-examples-use-subjectset
Open

docs: update keto examples to use subjectsets#2448
DavudSafarli wants to merge 6 commits intomasterfrom
keto-examples-use-subjectset

Conversation

@DavudSafarli
Copy link

@DavudSafarli DavudSafarli commented Feb 17, 2026

related to https://github.com/ory-corp/cloud/issues/10677

  • Update Keto examples to use SubjectSet instead of SubjectID
  • Use more common names in examples, like Alice and Bob
  • Adds missing dark theme colors to prism for keto code blocks
  • Change the colors for keto code blocks to match the theme we use in OPL editor
  • Update the prism.js for keto language highlighting for small adjustments

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Co-authored-by: Arne Luenser <arne.luenser@ory.sh>
```keto-tuples
// Allow access to TCP port 22 when the request originates from a specific subnet during office hours
tcp/22#access@c5b6454f-f79c-4a6d-9e1b-b44e04b56009
TcpPort:22#access@UserAttributes:c5b6454f-f79c-4a6d-9e1b-b44e04b56009
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we rewrite all tuples to natural?

Copy link
Author

@DavudSafarli DavudSafarli Feb 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

natural reads better for sure, especially with highlight.

Maybe we can have Tabs, where user can switch between Tuple / Natural?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How would you phrase this kind of relationships with natural language?

values:id#set_value@(values:id2#set_value)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments