diff --git a/roundup/security.py b/roundup/security.py
index f34892ee9701716868545540820c70bc2ed59705..e9f196efd74a7146e6c927b43c06f8c692976c55 100644 (file)
--- a/roundup/security.py
+++ b/roundup/security.py
description="User may register through the email")
# initialise the permissions and roles needed for the UIs
- from roundup import cgi_client, mailgw
- cgi_client.initialiseSecurity(self)
+ from roundup.cgi import client
+ client.initialiseSecurity(self)
+ from roundup import mailgw
mailgw.initialiseSecurity(self)
def getPermission(self, permission, classname=None):
role = self.role[rolename]
role.permissions.append(permission)
+# vim: set filetype=python ts=4 sw=4 et si