X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=xonstat%2Fsecurity.py;h=c19909a8a8c94e0fd72a56d2356edc457774d521;hb=c4868ad3c34c0f7c24285b9b137c97d9a2e8253d;hp=47828a4adc6e905b1854bf3b6b950574f2603e60;hpb=4ce37aad044f5b5caca48d5b68e109d87c7d1648;p=xonotic%2Fxonstat.git diff --git a/xonstat/security.py b/xonstat/security.py index 47828a4..c19909a 100644 --- a/xonstat/security.py +++ b/xonstat/security.py @@ -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