diff --git a/src/apps/officer-web/Screens/Dashboard/Settings/UserManagement/PermissionsSection.tsx b/src/apps/officer-web/Screens/Dashboard/Settings/UserManagement/PermissionsSection.tsx index 484c5be5..86fbe11b 100644 --- a/src/apps/officer-web/Screens/Dashboard/Settings/UserManagement/PermissionsSection.tsx +++ b/src/apps/officer-web/Screens/Dashboard/Settings/UserManagement/PermissionsSection.tsx @@ -20,8 +20,6 @@ type CapabilityInfo = { description: string; routes: string[]; hasPersonalWrites: boolean; - /** Confined: the grant does nothing until the member has a Linux account on this machine. */ - needsOsAccount: boolean; }; type Grant = { role: string; capability: string; level: 'read' | 'write' }; @@ -101,21 +99,27 @@ export const PermissionsSection = () => { return (
+ {/* Tabs rather than a dropdown. There are three roles and they are the axis you move along — a select + hides two of them behind a click and gives no sense of "which one am I editing" at a glance. Real + buttons, because switching role mutates a draft rather than navigating. */}
-
- Role - +
+ {data.roles.map((r) => ( + + ))}