mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
Prevent to send web notifications to other users
Only the admin user (sudo) is allowed to send notifications to other users. The normal users can only send notifications to themselves. This is to prevent attackers to craft malicious notifications and send them to other users using RPC. Correction based on the idea of @hbrunn
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
'name': 'Web Notify',
|
||||
'summary': """
|
||||
Send notification messages to user""",
|
||||
'version': '11.0.1.0.0',
|
||||
'version': '11.0.1.1.0',
|
||||
'description': 'Web Notify',
|
||||
'license': 'AGPL-3',
|
||||
'author': 'ACSONE SA/NV,Odoo Community Association (OCA)',
|
||||
|
||||
Reference in New Issue
Block a user