コード例 #1
0
    def xx_validate(self, request, auth='', roles=_noroles):
	#print roles,
        self.browser=''	
	if request['HTTP_USER_AGENT'].find('MSIE')!=-1:
	    self.browser='MSIE'
        v = request['PUBLISHED'] # the published object
	return BasicUserFolder.validate(self,request,auth,roles)
コード例 #2
0
 def manage_beforeDelete(self,item,container):
     BasicUserFolder.manage_beforeDelete(self,item,container)    
     ObjectManager.manage_beforeDelete(self,item,container)
コード例 #3
0
 def manage_afterAdd(self,item,container):
     ObjectManager.manage_afterAdd(self,item,container)
     BasicUserFolder.manage_afterAdd(self,item,container)
コード例 #4
0
 def manage_beforeDelete(self, item, container):
     BasicUserFolder.manage_beforeDelete(self, item, container)
     ObjectManager.manage_beforeDelete(self, item, container)
コード例 #5
0
 def manage_afterAdd(self, item, container):
     ObjectManager.manage_afterAdd(self, item, container)
     BasicUserFolder.manage_afterAdd(self, item, container)
コード例 #6
0
    def xx_authorize(self, user, accessed, container, name, value, roles):
	#print user,accessed,name,roles
	return BasicUserFolder.authorize(self, user, accessed, container, name, value, roles)