]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/security.py
Add the template as well.
[xonotic/xonstat.git] / xonstat / security.py
index 47828a4adc6e905b1854bf3b6b950574f2603e60..c19909a8a8c94e0fd72a56d2356edc457774d521 100644 (file)
@@ -16,8 +16,9 @@ GROUPS = {
 # default ACL
 class ACLFactory(object):
     __acl__ = [
+        # permission, principal, permission
         (Allow, Everyone, 'view'),
-        (Allow, 'group:admins', 'merge')
+        (Allow, 'admin', 'merge')
     ]
     def __init__(self, request):
         pass
@@ -34,6 +35,4 @@ def groupfinder(userid, request):
     except:
         pass
 
-    log.debug("Found the following groups for %s: %s" % (userid, groups))
-
     return groups