Only autodetect system: when setting the administrator, so new users don't get admin...
[invirt/packages/invirt-web.git] / code / cache_acls.py
index f7575e1..b18eabc 100644 (file)
@@ -27,7 +27,7 @@ def expandName(name):
     if ':' not in name:
         if isUser(name):
             return [name]
     if ':' not in name:
         if isUser(name):
             return [name]
-        name = 'system:'+name
+        return []
     try:
         return getafsgroups.getAfsGroupMembers(name, 'athena.mit.edu')
     except getafsgroups.AfsProcessError:
     try:
         return getafsgroups.getAfsGroupMembers(name, 'athena.mit.edu')
     except getafsgroups.AfsProcessError: