gathering / unicorn-frontend

Frontend for UNICORN
https://competitions.gathering.org
MIT License
1 stars 2 forks source link

[FEAT] Better role handling #8

Closed joms closed 2 years ago

joms commented 3 years ago

Proposed functionality Admin functionality should only be exposed to those users where it's actually relevant.

Use case When a user logs in, it should only be exposed to admin functionality if it's in a group giving access to such functionality.

Backend changes The user object must return a set of known groups for the frontend to decide on what functionality should be shown.

eriktm commented 3 years ago

Currently blocked by https://github.com/Zoodo/unicorn-api/issues/6