1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00
unleash.unleash/src/lib
Gastón Fournier 4cedb00e04
fix: fetching user root roles include custom ones (#4068)
## About the changes
`getUserRootRoles` should also consider custom root roles

This introduces test cases that unveiled a dependency between stores
(this happens actually at the DB layer having access-service access
tables from two different stores but skipping the store layer).


https://linear.app/unleash/issue/2-1161/a-user-with-custom-root-role-and-permission-to-create-client-api

---------

Co-authored-by: Nuno Góis <github@nunogois.com>
2023-06-22 14:42:01 +00:00
..
__snapshots__ Splitted strategy button (#4025) 2023-06-21 15:26:07 +02:00
addons
db chore: remove variant metrics flag (#4042) 2023-06-21 15:55:21 +03:00
domain/project-health
error refactor: token permissions, drop admin-like permissions (#4050) 2023-06-22 08:35:54 +01:00
features fix: fetching user root roles include custom ones (#4068) 2023-06-22 14:42:01 +00:00
middleware refactor: token permissions, drop admin-like permissions (#4050) 2023-06-22 08:35:54 +01:00
openapi fix: disallow empty list of envs and invalid env names in advanced playground (#4060) 2023-06-22 09:01:10 +00:00
proxy refactor: playground in feature oriented architecture (#3942) 2023-06-09 12:55:54 +02:00
routes refactor: token permissions, drop admin-like permissions (#4050) 2023-06-22 08:35:54 +01:00
schema chore: deprecate username on api-tokens (#3616) 2023-05-04 09:56:00 +02:00
segments
services fix: fetching user root roles include custom ones (#4068) 2023-06-22 14:42:01 +00:00
types fix: fetching user root roles include custom ones (#4068) 2023-06-22 14:42:01 +00:00
util feat: roles unification (#3999) 2023-06-19 09:41:40 +01:00
app.test.ts
app.ts fix: remove consecutive slashes (#3882) 2023-05-27 16:16:51 +00:00
create-config.test.ts
create-config.ts feat: enable oas by default (#4021) 2023-06-20 15:39:15 +02:00
default-custom-auth-deny-all.ts
internals.ts
logger.test.ts
logger.ts
metric-events.ts
metrics.test.ts
metrics.ts Poc: calculate etag based on query and latest revison id (#3062) 2023-03-17 14:10:21 +01:00
server-impl.test.ts
server-impl.ts chore: set unleash version to be either the enterprise version or OSS (#3974) 2023-06-13 19:39:49 +02:00