570 B
570 B
@gabriel20xx/web-ui
| @gabriel20xx/web-ui |
|---|
| minor |
UserManagement accepts an optional roles prop (KnownRole[]) in place of the projects prop it replaces: when present, each account gets a role picker (checkboxes in the add and edit rows, the role names in the read-only row), and onCreate/onUpdate receive a roleIds: number[] field. An account's projects now come from its roles, so per-account project checkboxes are gone. ManagedUser carries roleIds instead of projects. Only AuthGuard's own admin UI passes this prop today; every other consumer is unaffected.