You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace incorrect user permission check in cleanup_tiles_for_floor with appropriate tile-management authorization.
Findings (1)
[MEDIUM] bug at backend/app/services/tile_service.py:191 — Incorrect permission check in cleanup_tiles_for_floor: line 191 checks user.can_manage_users() but should check user.can_manage_critical_sectors() or a tile-management-specific permission. can_manage_users() is for user administration, not tile management. Fix sketch: Replace can_manage_users() with an appropriate permission check for tile management, such as checking if user is admin or supervisor.
Generated by GITA v0.1.0 onboarding agent against amass. Milestone confidence: 0.85.
Replace incorrect user permission check in cleanup_tiles_for_floor with appropriate tile-management authorization.
Findings (1)
backend/app/services/tile_service.py:191— Incorrect permission check in cleanup_tiles_for_floor: line 191 checks user.can_manage_users() but should check user.can_manage_critical_sectors() or a tile-management-specific permission. can_manage_users() is for user administration, not tile management.Fix sketch: Replace can_manage_users() with an appropriate permission check for tile management, such as checking if user is admin or supervisor.
Generated by GITA v0.1.0 onboarding agent against
amass. Milestone confidence: 0.85.