Is your feature request related to a problem?
Currently, PocketBase provides no visibility when an admin modifies collection rules (e.g., API filters, validation rules). This causes:
- Silent changes: Admins unknowingly work with outdated rules (e.g., "Why did my API endpoint break? Oh, another admin removed the filter yesterday").
- Zero accountability: No way to identify who changed rules or when, making troubleshooting impossible.
- Operational blind spots: Teams can’t track rule evolution (e.g., security policies weakened without review).
Describe the solution you'd like
A passive notification system that alerts admins after rule changes occur:
- Admin Dashboard Banner:
- A non-intrusive banner in the admin UI showing:
"Collection [Name] rules updated by [Admin] • [Time ago] • [View Changes]"
- Example:
"Users rules updated by Jamal• 2h ago • View diff"
- Dedicated "Rule Changes" Tab:
- Chronological log of all rule modifications (extending GitHub #2322):
- Timestamp, admin email, collection name, and before/after rule snapshots.
- No real-time sync needed, just persistent visibility of historical changes.
- Opt-in Email Alerts: (My recommendation)
- Per-admin toggle: "Notify me when ANY collection rule is modified" (or per-collection).
- Email includes: Admin name, collection, timestamp, and link to diff view.
Describe alternatives you've considered
No response
Additional context
- Why this matters: Rule changes directly impact security (e.g., auth rules) and app stability. Teams need to know when these shift.
- Minimal scope: This doesn’t require conflict resolution. Just recording and surfacing changes.
- Community alignment: Directly addresses gaps in GitHub #2322 (audit logs) by adding actionable visibility.
Is your feature request related to a problem?
Currently, PocketBase provides no visibility when an admin modifies collection rules (e.g., API filters, validation rules). This causes:
Describe the solution you'd like
A passive notification system that alerts admins after rule changes occur:
"Collection [Name] rules updated by [Admin] • [Time ago] • [View Changes]""Users rules updated by Jamal• 2h ago • View diff"Describe alternatives you've considered
No response
Additional context