Code

better detection of unset required props
[roundup.git] / roundup / security.py
index 5829128c87a476b7346cfe622d7a88c52177dbd4..e9f196efd74a7146e6c927b43c06f8c692976c55 100644 (file)
@@ -66,8 +66,8 @@ class Security:
             description="User may register through the email")
 
         # initialise the permissions and roles needed for the UIs
-        from roundup import cgi_client
-        cgi_client.initialiseSecurity(self)
+        from roundup.cgi import client
+        client.initialiseSecurity(self)
         from roundup import mailgw
         mailgw.initialiseSecurity(self)
 
@@ -158,3 +158,4 @@ class Security:
         role = self.role[rolename]
         role.permissions.append(permission)
 
+# vim: set filetype=python ts=4 sw=4 et si