1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +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 Detailed slack notifications on feature toggle update (#3155) 2023-02-27 09:56:56 +00:00
db chore: remove variant metrics flag (#4042) 2023-06-21 15:55:21 +03:00
domain/project-health Project health tests (#3028) 2023-02-02 12:01:16 +01:00
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 chore: add additional methods we want exposed (#3771) 2023-05-15 10:23:28 +00:00
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 feat: add support for cdnPrefix for static assets (#1191) 2022-01-06 10:31:00 +01:00
app.ts fix: remove consecutive slashes (#3882) 2023-05-27 16:16:51 +00:00
create-config.test.ts chore: remove optimal 304 flag (#3665) 2023-05-05 09:18:04 +02:00
create-config.ts feat: enable oas by default (#4021) 2023-06-20 15:39:15 +02:00
default-custom-auth-deny-all.ts refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
internals.ts chore: drop event hook (#3565) 2023-04-21 09:44:18 +02:00
logger.test.ts fix: convert more tests to typescript 2021-09-14 20:30:37 +02:00
logger.ts feat: add option for LOG_LEVEL (#803) 2021-04-23 15:31:12 +02:00
metric-events.ts
metrics.test.ts chore: add linter rules for regexp (#3500) 2023-04-17 07:11:22 +00:00
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 chore: drop event hook (#3565) 2023-04-21 09:44:18 +02:00
server-impl.ts chore: set unleash version to be either the enterprise version or OSS (#3974) 2023-06-13 19:39:49 +02:00