 Jeppe BandJeppe Bundgaard
|
7a84cd9162
|
Align subuser self-service controls (#234)
## Summary
- Centralize subuser permission capability labels so the grant editor,
table header, and action settings wheel use the same self-service text.
- Add the self-service access control to each grant section in the
subuser action wheel.
- Add focused unit coverage for the shared label helper and subuser
action wheel payload.
## Verification
- `npm run test:unit:single --
tests/unit/subuser-management-labels.spec.js
tests/unit/subuser-grant-permission-nodes.spec.js`
- `npx eslint
src/components/displays/selectors/SubuserGrantPermissionNodes.vue
src/components/displays/superuser/tables/SubusersTable.vue
src/components/session/subuser/subuserPermissionLabels.js
tests/unit/subuser-management-labels.spec.js --quiet`
- `npm run build`
## Visual change previews
### View: Customer subuser management
**Description:** Shows the customer-facing chauffeur table and settings
wheel self-service label aligned to the same wording across table
header, row control, and wheel item.
#### Mobile (390x844)
**Before:** 
**After:** 
#### Tablet (768x1024)
**Before:** 
**After:** 
#### Desktop (1440x900)
**Before:** 
**After:** 
---------
Co-authored-by: Jeppe Bundgaard <jb@truckwash.dk>
|
2026-07-28 17:06:36 +02:00 |
|