astarte-dashboard icon indicating copy to clipboard operation
astarte-dashboard copied to clipboard

Compute permissions from the JWT and disable unavailable UI sections

Open davidebriani opened this issue 4 months ago • 0 comments

Since the JWT used for authentication directly contains the list of authorization claims, it can be evaluated how to hide or disable relevant parts of the UI when the permission to use them is missing.

The aim is to improve the user experience without displaying buttons and UI affordances that are, in fact, not usable because the user is not authorized.

davidebriani avatar Apr 02 '24 15:04 davidebriani