SeC-Hikit/Hikit-Frontend-CAIBO

[USERS PROFILING] Showing admin menu entries based on user profile

loreV opened this issue · 0 comments

Based on a user profile either show/hide the menu buttons (see the pic)
Specifically:
maintainer - sees 'Tracce', 'Sentieri', 'Localita'', 'Percorribilita', 'Manutenzioni'
casual_volunteer - sees 'Manutenzioni' and 'Annunci'
content_creator -sees 'Localita'', 'POI'
admin - sees all entries

In case no profile is set - the user shall not see any entry.

Hint: a good place to start is the AuthService

Screenshot 2024-01-29 alle 22 46 13