How to handle lists with Casl ? #987
-
Hello everyone, My use case is pretty simple : I have 2 entities, User and Workspace, and a page to list all the workspaces. A user can be an admin of a workspace. Currently I have defined an action Thanks for your help 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
How is the user and workspace linked on data layer? |
Beta Was this translation helpful? Give feedback.
I wanted to have a particular example of eventual aggregated root.
If eventually you get currently logged in user as:
Then you can define this permissions:
or you can have permissions …