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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
New
s3_quota_alerts_perspective — read-only perspective (GET /s3/quota-alerts-perspective), one row per S3 account currently at/above the 80% quota warning threshold (or already blocked) on storage or monthly egress. Uses the same thresholds as QuotaHelper/QuotaWarningNotification/QuotaExceededNotification, so it always reflects what did (or will) trigger an alert email.
Ships as a DB view — see schemas/s3_quota_alerts_perspective.sql for the CREATE OR REPLACE VIEW to apply to the database (no Laravel migration, same as the other schemas/*.sql references in this repo).
Full model/controller/service/transformer/request/filter scaffolding, mirroring the existing worm-expiring-perspective pattern.
Fix
S3UserRole was missing read access to s3_account_stats, s3_accounts_perspective, and s3_server_capacity_stats, even though S3ManagerRole/S3AdminRole already had them — brought to parity.
s3_quota_alerts_perspective:read granted to all three S3 roles (admin/manager/user).