projects
/
zzz-spline-forum.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added soapbox and archive forum access levels. #313
[zzz-spline-forum.git]
/
splinext
/
forum
/
controllers
/
forum.py
diff --git
a/splinext/forum/controllers/forum.py
b/splinext/forum/controllers/forum.py
index
b5bacab
..
342e8e6
100644
(file)
--- a/
splinext/forum/controllers/forum.py
+++ b/
splinext/forum/controllers/forum.py
@@
-54,7
+54,7
@@
class ForumController(BaseController):
def write_thread(self, forum_id):
"""Provides a form for posting a new thread."""
def write_thread(self, forum_id):
"""Provides a form for posting a new thread."""
- if not c.user.can('
create_forum_
thread'):
+ if not c.user.can('
forum:create-
thread'):
abort(403)
try:
abort(403)
try:
@@
-99,7
+99,7
@@
class ForumController(BaseController):
def write(self, forum_id, thread_id):
"""Provides a form for posting to a thread."""
def write(self, forum_id, thread_id):
"""Provides a form for posting to a thread."""
- if not c.user.can('
create_forum_
post'):
+ if not c.user.can('
forum:create-
post'):
abort(403)
try:
abort(403)
try: