-
Is it possible to control read/write access to a field for an entity based on a condition? For example, how would I only allow users to add/remove roles that have a ranking <= to their current role? |
Beta Was this translation helpful? Give feedback.
Answered by
edobrb
May 26, 2022
Replies: 1 comment 2 replies
-
I think this is very application specific logic. The Typetta security does not provide such feature. If you are using the autogenerated operations I would suggest to override all the resolvers that does not fit your application by decorating it with your custom logic. Does it make sense? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Atlinx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think this is very application specific logic. The Typetta security does not provide such feature. If you are using the autogenerated operations I would suggest to override all the resolvers that does not fit your application by decorating it with your custom logic. Does it make sense?