Replies: 2 comments
-
Thanks for the feedback @Dogacel! I'm moving this to an "Idea" |
Beta Was this translation helpful? Give feedback.
0 replies
-
BTW, the approach you are following is correct. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checklist
Describe the problem you'd like to have solved
There should be a way to inherit certain properties from relations. This makes sense for higher level entities such as namespaces, organization and other wrapper types in the hierarchy.
Describe the ideal solution
Alternatives and current workarounds
Currently it is possible to push the permission check to the parent,
However this gets dirty too quickly, especially when hierarchy is deeper and more permissions are added. Each entity carries over a piece of information that it usually doesn't care.
Additional context
I would be glad if you can provide some alternatives to this problem, I have also considered other ReBAC solutions and couldn't find a solution that really works with nested relations. Maybe it is related to cache performance, however being able to define nested relations on leaf entities should make caching easier.
Easiest way to implenet this would be expanding the syntax I provided
target: x from y from z
ontoAlso LMK if there are any performance concerns about this or the previous approach.
Beta Was this translation helpful? Give feedback.
All reactions