-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Right now, we have a single setting @settings.enable_administrative_notifications ||= true that enables/disables administrative notifications to site admins, it sends email every time a new user registers or someone creates an ontology. That might be fine for small depoyments but on BioPortal its not as useful.
But that’s a problem. Disabling it completely means we dont get notifications for the stuff we care about - things like obo foundry sync job or CloudFlare web analytics job completion.
We need something more granular.
Feature request:
Introduce a per-notification-type configuration. Something like:
@settings.administrative_notification_preferences ||= {
new_user_created: false,
new_ontology_created: false,
cf_web_analytics_job: true
}
The idea is: enable_administrative_notifications still gates the whole feature, but once it’s on, we can selectively suppress high-volume, low-value notifications (like user signups) without disabling all admin comms.
Start with just new_user_created and new_ontology_created. That’s enough for BioPortal usecase