Permalink
Browse files

wiki: Admins may always view.

  • Loading branch information...
1 parent 3140ac7 commit b020ee7feeb15e7442e605b6dae993ae44ea4625 @andre-d andre-d committed with spladug Oct 30, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 r2/r2/controllers/validator/wiki.py
@@ -64,6 +64,8 @@ def this_may_revise(page=None):
def this_may_view(page):
user = c.user if c.user_is_loggedin else None
+ if user and c.user_is_admin:
+ return True
return may_view(c.site, user, page)
def may_revise(sr, user, page=None):

0 comments on commit b020ee7

Please sign in to comment.