The superadmin role was stored in users.role column but getRoles() only checked user_roles table. Updated to use UNION query that combines both sources for backward compatibility. Fixes 403 Forbidden on /api/v1/users for admin users. |
||
|---|---|---|
| .. | ||
| auth | ||
| persistence/postgres | ||
| storage | ||