Skip to content

Transitive permissions , does it really work? #1155

Answered by laxathom
laxathom asked this question in Q&A
Discussion options

You must be logged in to vote

Just to close this discussion, I found my way through w/o the Ory console and was able to get a transitive permission hierarchy as expected.

Here's an example of what the relation tuples looks like:

NAMESPACE	OBJECT			RELATION NAME	SUBJECT
Groups          owners                  members         User:seller01
Groups		editors			members		Groups:owners#members						
Groups		viewers			members		Groups:owners#members		
Stores          devices                 edit            Groups:editors#members
Stores          devices                 view            Groups:viewers#members
Stores          devices/phones          edit            Stores:devices#view

This allows me to check with the following

ket…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by laxathom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant