ls1intum / thesis-track

Web Application for trackage of theses supervised at the chair
MIT License
4 stars 1 forks source link

Implement reusable hook for authentication #84

Open fabian-emilius opened 3 months ago

fabian-emilius commented 3 months ago

Implement reusable hook to check user groups and permissions

Mtze commented 3 months ago

Please make sure to have these roles in keycloak / in the JWT only. That would be super important to me

fabian-emilius commented 3 months ago

I can put these roles in keycloak but not sure if it makes some things harder as my idea of the permissions were to make them topic / thesis based. Example:

so in my idea there is not really a global role (apart from maybe a global admin) but only roles for specific thesis / topics. Does that make sense? Generally I will use keycloak for all global permission stuff