1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
unleash.unleash/src/lib
Nuno Góis 1c84a81178
fix: include custom root roles in user access overview (#5898)
https://linear.app/unleash/issue/2-1844/fix-add-custom-root-roles-to-user-access-overview

I noticed our user access overview method did not take into account
custom root roles, which meant only users with default root roles were
being returned.

This changes the query to check for `IN ('root', 'root-custom')`
instead, including both "root" and "custom root" roles.


![image](https://github.com/Unleash/unleash/assets/14320932/aa808e8f-edc0-4a94-b59f-a8b619ae54ca)
2024-01-15 13:38:31 +00:00
..
__snapshots__ feat: separate UI flag and backend flag for extended metrics (#5875) 2024-01-12 10:20:03 +01:00
addons Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
db fix: include custom root roles in user access overview (#5898) 2024-01-15 13:38:31 +00:00
domain/project-health Project health tests (#3028) 2023-02-02 12:01:16 +01:00
error Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
features fix: differentiated interval and initial schedule call (#5896) 2024-01-15 11:50:32 +00:00
middleware Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
openapi chore: add no unused imports biome rule (#5855) 2024-01-11 12:44:05 +00:00
proxy chore(deps): update dependency @biomejs/biome to v1.4.1 (#5709) 2024-01-10 09:11:49 +00:00
routes Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
schema feat: implement createdByUserId for all features (#5725) 2023-12-22 14:33:16 +01:00
segments fix: missing user id in segment update (#5414) 2023-11-24 11:17:36 +01:00
services fix: differentiated interval and initial schedule call (#5896) 2024-01-15 11:50:32 +00:00
types feat: metrics calculation limit (#5853) 2024-01-12 12:32:31 +01:00
util Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
app.test.ts feat: Make compression middleware optional (#5306) 2023-12-16 08:06:26 +01:00
app.ts Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
create-config.test.ts
create-config.ts feat: make local storage work and make feedback url configurable (#5738) 2023-12-29 13:19:08 +02:00
default-custom-auth-deny-all.ts chore: expose custom-handler-auth type (#5287) 2023-11-07 10:37:09 +01:00
internals.ts
logger.test.ts
logger.ts
metric-events.ts
metrics.test.ts Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
metrics.ts chore: add no unused imports biome rule (#5855) 2024-01-11 12:44:05 +00:00
server-impl.test.ts
server-impl.ts feat: adds created_by_user_id to all events (#5619) 2023-12-14 13:45:25 +01:00