gathering / unicorn-backend

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

Expose user permissions in API #6

Closed eriktm closed 2 years ago

eriktm commented 3 years ago

Proposed Functionality

The current (logged in or not) permissions should be readable via the API. This can be solved for now by exposing group memberships in an endpoint.

Use Case

Allow frontend applications to show UI elements based on actual permissions.

Database Changes

No.

External Dependencies

No.

joms commented 2 years ago

I første omgang kan det være grupper som eksponeres som tilganger. Dette vil være en quick win