Remove root user now we have new way
authorPaul Crowley <paul@lshift.net>
Fri, 20 Feb 2009 11:19:29 +0000
changeset 45 59dee3c04279
parent 44 cf851f3ddf16
child 46 d2bbab5ffd0e
Remove root user now we have new way
src/ruleset.py
--- a/src/ruleset.py	Fri Feb 20 11:17:20 2009 +0000
+++ b/src/ruleset.py	Fri Feb 20 11:19:29 2009 +0000
@@ -52,9 +52,6 @@
     levels = ["init", "write", "read", "deny"]
 
     def __init__(self):
-        # The user called "root" automatically has the highest
-        # privilege
-        self.rules = [(self.levels[0], rule([('user', 'root')]))]
         self.preset = {}
 
     def add(self, action, conditions):