[FIX] website_forum: respect karma when posting questions/answers/comments + more...
authorOlivier Dony <odo@openerp.com>
Mon, 20 Oct 2014 23:19:05 +0000 (01:19 +0200)
committerOlivier Dony <odo@openerp.com>
Mon, 20 Oct 2014 23:23:28 +0000 (01:23 +0200)
commitb9953acb0f3221bb66cd78afbd0d7949cf48161c
tree5e38d360a47f9c9f575379c81271e0bdd9156171
parentbfb61cd5e97ad1e710c5f65c42261be8657c285b
[FIX] website_forum: respect karma when posting questions/answers/comments + more user-friendly errors

While posting new questions and answers the check
for karma limit was bypassed because it was using
super-user mode: use regular user instead.
Also improve the user feedback when karma level is
too low to perform some actions: post comment,
post question, post answer.
The usability in these cases still needs to be
improved.
addons/website_forum/controllers/main.py
addons/website_forum/models/forum.py
addons/website_forum/views/website_forum.xml