ID: SUM-SEC-17
Wave: P2
Severity: Low
Labels: security, acl, admin, P2, low
Branch: fix/SUM-SEC-17-app-logs-orm-acl
Languages: Go
Summary
App logs UI uses raw SQL after a menu/group check only. If menu groups change, the handler can bypass CheckModelAccess for app.log.
Acceptance criteria
Files to check / change
sumeru/core/server/web/settings_app_logs.go (~L80–92)
ID: SUM-SEC-17
Wave: P2
Severity: Low
Labels: security, acl, admin, P2, low
Branch:
fix/SUM-SEC-17-app-logs-orm-aclLanguages: Go
Summary
App logs UI uses raw SQL after a menu/group check only. If menu groups change, the handler can bypass
CheckModelAccessforapp.log.Acceptance criteria
CheckModelAccess(ctx, uid, "app.log", "read")(or equivalent) in handlerFiles to check / change
sumeru/core/server/web/settings_app_logs.go(~L80–92)