[USERS PROFILING] Showing admin menu entries based on user profile
loreV opened this issue · 0 comments
loreV commented
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