User Request
Type: bug
Target: Console Application
Submitted by: @aashu2006
Console Request ID: 9511492f-7fd4-4b94-89e2-b1bcbc0187ea
Description
What happened:
In pkg/api/handlers/dashboard.go:100-126, CreateDashboard has no limit on dashboards per user. CreateCard enforces MaxCardsPerDashboard = 200 via CreateCardWithLimit, but there is no analogous limit for dashboards. A user can create unlimited dashboards each holding 200 cards, exhausting database storage proportionally.
What I expected:
CreateDashboard should enforce a per-user dashboard limit (e.g. MaxDashboardsPerUser) similar to MaxCardsPerDashboard.
Steps to reproduce:
- Script repeated CreateDashboard calls
- Observe unlimited dashboards are created with no cap
- Observe database storage grows unboundedly
This issue was automatically created from the KubeStellar Console.
User Request
Type: bug
Target: Console Application
Submitted by: @aashu2006
Console Request ID: 9511492f-7fd4-4b94-89e2-b1bcbc0187ea
Description
What happened:
In
pkg/api/handlers/dashboard.go:100-126,CreateDashboardhas no limit on dashboards per user.CreateCardenforcesMaxCardsPerDashboard = 200viaCreateCardWithLimit, but there is no analogous limit for dashboards. A user can create unlimited dashboards each holding 200 cards, exhausting database storage proportionally.What I expected:
CreateDashboardshould enforce a per-user dashboard limit (e.g.MaxDashboardsPerUser) similar toMaxCardsPerDashboard.Steps to reproduce:
This issue was automatically created from the KubeStellar Console.