Commit bd3784a7 authored by Sebastien Robin's avatar Sebastien Robin

setProperty on temp Objets should not require modify portal content permission


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2845 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 876573bc
......@@ -1891,6 +1891,9 @@ class TempBase(Base):
"""
isIndexable = 0
# Declarative security
security = ClassSecurityInfo()
def reindexObject(self, *args, **kw):
pass
......@@ -1918,3 +1921,5 @@ class TempBase(Base):
def getTitle(self):
return getattr(self,'title',None)
security.declarePublic('setProperty')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment