-
- Downloads
[REF] link_tracker: do not let public read technical / private link data
Link tracker models are rather technical and should not be accessed as it is by external people. Let us delegate control to controllers and lessen a bit model accessibility. Currently everyone can use add_click method and generate statistics. Now statistics will be generated only through dedicated routes. It will make statistics more reliable and ensure technical data remain private. Next commit will update code from controllers and main methods in order to be have a more readable click API and avoid link between non dependent modules. This commit is linked to task ID 1904277 and PR #28242.
Showing
- addons/link_tracker/controller/main.py 1 addition, 1 deletionaddons/link_tracker/controller/main.py
- addons/link_tracker/security/ir.model.access.csv 9 additions, 6 deletionsaddons/link_tracker/security/ir.model.access.csv
- addons/mass_mailing/controllers/main.py 1 addition, 1 deletionaddons/mass_mailing/controllers/main.py
Loading
Please register or sign in to comment