Hello all ! I am working on the setup of the permissions through directus (which are very powerful!), and I am looking for a way to achieve the following thing, that seems to me impossible, at least through the App interface :
I have 2 roles : "Teacher" and "Student".
I need my Teacher Role to be able to update the Directus Users collection, the followiong way :
- For $CURRENT_USER (himself), be able to update all information, including password, etc.
- For users with role "Student", be able to update SOME of the informations, such as name, email, etc. but not Password for example.
In other words, I need my Teacher user to be able to update differents fields, depending on the user role. It seems that, in the Directus App, I cannot define such thing, since we cannot definie specific Fields Permissions depending on Items Permissions...
Do you have an idea of something I would not know about this that would enable that..?
Thanks a lot for your help !