td-org-uit-no / tdctl-frontend

Website for Tromsøstudentens dataforening
https://td-uit.no
6 stars 3 forks source link

Remove admin role #212

Open otytlandsvik opened 1 year ago

otytlandsvik commented 1 year ago

:sparkles: Add a way to remove the admin role from users on the website

At this time it must be done manually through the deployed container shell. It should be possible through the website.

:dizzy: Could allow all admins to demote others

Admins should be trusted anyway to not demote someone who shouldn't be

:twisted_rightwards_arrows: A special superadmin role could also be introduced

This should be handed to nettsideansvarlig only. It would require some additional rewriting of the existing user types and authentication mechanism.