Skip to content
Snippets Groups Projects
Commit bb089fb5 authored by Fabien Meghazi's avatar Fabien Meghazi
Browse files

[ADD] base: add support for custom functions in imbus & cron_trigger notify


This patch provides the possibility to implement a custom security layer on top
of Odoo's bus notification system (and cron live triggering system) which both
use postgresql's NOTIFY command.

The key addition is the `ODOO_NOTIFY_FUNCTION` environment variable (opt-in),
which can now define a postgresql function to be called instead of the NOTIFY
command. This allows for greater flexibility and control over the notification
and triggering mechanisms within Odoo.

closes odoo/odoo#135099

X-original-commit: 71b5ffd7
Signed-off-by: default avatarFabien Meghazi (fme) <fme@odoo.com>
parent 99f13f2e
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment