Protected ReadonlydbStaticinstanceThe process service, on the shared database.
The permission keys the user's role grants, deduped and sorted; [] for
no role. One query, for the per-request auth path (lib/auth.ts).
Optionalinput: {Optionalids?: string[]Optionalnames?: string[]Optionalpage?: numberOptionalpageSize?: numberOptionaluserIds?: string[]Roles held by any of these users.
The reads of the role catalog and per-user permissions, needing only
db; AdminDashboardRoleService adds the writes.