[IMP] [FIX] website_forum: cleaned and improved the management of available actions...
authorThibault Delavallée <tde@openerp.com>
Tue, 1 Jul 2014 07:19:22 +0000 (09:19 +0200)
committerThibault Delavallée <tde@openerp.com>
Tue, 1 Jul 2014 08:29:37 +0000 (10:29 +0200)
commit2a4ec367a9a3b19a75061f14b436ee125fcd815e
tree40efbec20e79765cfbec98049f84ed8919a3e29c
parent9132b1d3066771704e629c7303c9c339415191d4
[IMP] [FIX] website_forum: cleaned and improved the management of available actions based on the user's karma. The karma levels are now stored on the forum itself, allowing customization. The various check of karma are done at model level and not at controller level anymore, leading to a more secure and easier to inherit behavior.
addons/website_forum/controllers/main.py
addons/website_forum/data/forum_data.xml
addons/website_forum/models/forum.py
addons/website_forum/static/src/css/website_forum.css
addons/website_forum/static/src/css/website_forum.sass
addons/website_forum/static/src/js/website_forum.js
addons/website_forum/views/forum.xml
addons/website_forum/views/website_forum.xml