[Zapp-cvs-commit] ZApp ZApp_Base.py,1.25,1.26
Brought to you by:
sspickle
|
From: Steve S. <ssp...@us...> - 2005-02-20 19:45:53
|
Update of /cvsroot/zapp/ZApp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15629 Modified Files: ZApp_Base.py Log Message: potentail security change as comment for now.. Index: ZApp_Base.py =================================================================== RCS file: /cvsroot/zapp/ZApp/ZApp_Base.py,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** ZApp_Base.py 15 Aug 2004 18:08:17 -0000 1.25 --- ZApp_Base.py 20 Feb 2005 19:45:44 -0000 1.26 *************** *** 24,27 **** --- 24,28 ---- from Products.ZPatterns.SheetProviders import SheetProvider from OFS import PropertySheets + from AccessControl import ClassSecurityInfo _marker = [] *************** *** 181,184 **** --- 182,187 ---- _primaryKeyGenerator = 'self.id' _insertQueryPrefix = '' + + security = ClassSecurityInfo() def propDisplay(self): *************** *** 242,245 **** --- 245,255 ---- crr(self.id) + # + # I think we probably need this, but I need to do some more testing before I check it in to the codebase. + # + # security.declareProtected("Modify ZApp DataSkin", 'change') + # security.declareProtected("Modify ZApp DataSkin", 'manage_changeProperties') + # + def change(self, props=None, REQUEST=None, **kw): """ |