Replies: 2 comments
-
In this case your actual subject type is page name + icon name but I guess this is just how you think about it. Very likely there is some Entity, who owns this icons (states?) and which information is displayed on that page, it’s also fine that there are multiple entities displayed on a single page and permissions should be defined for those entities Subject type ideally should be taken from Domain layer not from Presentation |
Beta Was this translation helpful? Give feedback.
0 replies
-
ok thanks, now I understand how to do it |
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
-
I'm a beginner and I don't know how to manage ability in a particular way
i use Angular with CASL
how can i manage? please
because it's not just the page that's in "read" or "write" mode, but the icon elements that are.
Beta Was this translation helpful? Give feedback.
All reactions