1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-03-04 00:18:40 +01:00
unleash.unleash/src/lib
Thomas Heartman 2905b560bd
fix: no owners listed in personal dashboard for default project ()
This PR fixes a bug where the default project would have no listed
owners. The issue was that the default project has no user owners by
default, so we didn't get a result back when looking for user owners.
Now we check whether we have any owners for that project, and if we
don't, then we return the system user as an owner instead.

This also fixes an issue for the default project where you have no roles
(because by default, you don't) by updating the schema to allow an empty
list.
2024-10-07 10:52:11 +02:00
..
__snapshots__ fix: prevent config resolver snapshot test () 2024-09-02 15:14:34 +02:00
addons fix: some integrations only counted errors not all results () 2024-09-27 14:57:26 +02:00
db test: test the dashboard admins property () 2024-09-30 13:38:00 +00:00
domain/project-health chore: change toggle to flag () 2024-05-22 09:58:53 +03:00
error fix: validate patched data with schema () 2024-07-18 13:26:50 +01:00
features fix: no owners listed in personal dashboard for default project () 2024-10-07 10:52:11 +02:00
middleware feat: resolve useragent source and add as source label to metrics () 2024-08-15 13:25:42 +02:00
openapi fix: no owners listed in personal dashboard for default project () 2024-10-07 10:52:11 +02:00
routes feat: personal dashboard api () 2024-09-23 15:47:19 +02:00
schema fix: trim role names before validation () 2024-09-26 11:52:51 +00:00
services fix: add missing awaits on events () 2024-10-01 14:34:25 +02:00
types feat: add flag to purchase additional environments () 2024-10-04 15:07:14 +03:00
users feat: use audit info in events () 2024-04-18 16:32:35 +02:00
util feat: upgrade from react v17 to v18 () 2024-06-11 13:59:52 +03:00
app.test.ts
app.ts chore: origin middleware () 2024-07-30 10:42:50 +01:00
create-config.test.ts fix: prevent config resolver snapshot test () 2024-09-02 15:14:34 +02:00
create-config.ts fix: use the correct env vars for initial admin account () 2024-09-05 09:10:51 +01:00
default-custom-auth-deny-all.ts chore: Bump biome and configure husky () 2024-03-18 13:58:05 +01:00
internals.ts refactor: rename proxy to frontend api () 2024-03-11 17:30:46 +01:00
logger.test.ts
logger.ts
metric-events.ts feat: user loging event emitting with login order () 2024-08-30 11:28:19 +02:00
metrics.test.ts fix: extend feature_toggle_update counter with details about action () 2024-09-30 12:16:03 +00:00
metrics.ts feat: add logging for lifecycle prom metrics () 2024-10-02 15:49:15 +03:00
server-impl.test.ts chore: remove featureLifecycle and featureLifecycleMetrics flags () 2024-08-08 13:45:23 +02:00
server-impl.ts feat: file import () 2024-05-31 13:21:41 +02:00