summaryrefslogtreecommitdiff
path: root/addons/web_editor/controllers/main.py
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2018-06-22 16:18:45 +0200
committerNicolas Lempereur <nle@odoo.com>2018-06-26 11:37:57 +0200
commitfadb3e155e8a9602d62fd2293eaf9f227ce2ec1c (patch)
tree626cb88e4dc65475ec06986763ec8ce28edfc885 /addons/web_editor/controllers/main.py
parentf28875b1b709659fc03302667723fd5f465c9efa (diff)
[FIX] addons: no unsubscribe for unsubscribed
The `/groups` route display mail.channel and allow: - a public user to subscribe specifying a mail address - a logged in user to subscribe/unsubscribe itself The `/groups?unsubscribe` route is the same but only allow: - a public user to unsubscribe specifying a mail address - a logged in user to unsubscribe itself When a user is logged in, there is the oddity that all mail.channel appear as to "unsubscribe" even if the user is not subscribed. With this commit, the unsubscribe is shown only if user is subscribed. opw-1861208 closes #25439
Diffstat (limited to 'addons/web_editor/controllers/main.py')
0 files changed, 0 insertions, 0 deletions