comparison roundup/security.py @ 992:6003d6fa02a5

new CGI frontend support
author Richard Jones <richard@users.sourceforge.net>
date Fri, 30 Aug 2002 08:37:00 +0000
parents 62c49e259047
children 9b910e8d987d
comparison
equal deleted inserted replaced
991:79129f013153 992:6003d6fa02a5
64 description="User may register through the web") 64 description="User may register through the web")
65 reg = self.addPermission(name="Register Email", 65 reg = self.addPermission(name="Register Email",
66 description="User may register through the email") 66 description="User may register through the email")
67 67
68 # initialise the permissions and roles needed for the UIs 68 # initialise the permissions and roles needed for the UIs
69 from roundup import cgi_client 69 from roundup.cgi import client
70 cgi_client.initialiseSecurity(self) 70 client.initialiseSecurity(self)
71 from roundup import mailgw 71 from roundup import mailgw
72 mailgw.initialiseSecurity(self) 72 mailgw.initialiseSecurity(self)
73 73
74 def getPermission(self, permission, classname=None): 74 def getPermission(self, permission, classname=None):
75 ''' Find the Permission matching the name and for the class, if the 75 ''' Find the Permission matching the name and for the class, if the

Roundup Issue Tracker: http://roundup-tracker.org/