You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm evaluating adopting it and there is one particular use case that I can figure out: How to model indirect relationships that depend on an attribute?
Let's use the Google Drive example: you have users, folders and documents.
By default, when you have access to a folder, you have access to all the folders inside it.
I want to have a setting at folder level to enable visibility of subfolders, i.e.
Folder A is inside folder B and folder B has "subfolder visibility" set to true.
User X has access to Folder B. Thus, user X has access to folder A.
Folder B "subfolder visibility" set to false.
User X has access to folder B contents but it has no access to folder A contents.
Could this be modelled with the current version of OpenFGA?
The text was updated successfully, but these errors were encountered:
juanjoDiaz
changed the title
How to model indirect relationship that depends on an attribute?
How to model indirect relationship that depend on an attribute?
Apr 7, 2023
Hi,
Thanks for the great work on OpenFGA!
I'm evaluating adopting it and there is one particular use case that I can figure out: How to model indirect relationships that depend on an attribute?
Let's use the Google Drive example: you have users, folders and documents.
By default, when you have access to a folder, you have access to all the folders inside it.
I want to have a setting at folder level to enable visibility of subfolders, i.e.
Folder A is inside folder B and folder B has "subfolder visibility" set to true.
User X has access to Folder B. Thus, user X has access to folder A.
Folder B "subfolder visibility" set to false.
User X has access to folder B contents but it has no access to folder A contents.
Could this be modelled with the current version of OpenFGA?
The text was updated successfully, but these errors were encountered: