diff --git a/src/layout/Shell.jsx b/src/layout/Shell.jsx index 4ebf191..0ed67f0 100644 --- a/src/layout/Shell.jsx +++ b/src/layout/Shell.jsx @@ -27,7 +27,10 @@ export default function Shell() {
{user?.name || user?.email || 'Signed in'} - {user?.email} + {/* The role is shown because RBAC is the demo: what this person can + and cannot do is the point, so who they are signed in as should + never be a guess. */} + {(user?.roles || []).join(', ') || user?.email}