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): ...@@ -1891,6 +1891,9 @@ class TempBase(Base):
""" """
isIndexable = 0 isIndexable = 0
# Declarative security
security = ClassSecurityInfo()
def reindexObject(self, *args, **kw): def reindexObject(self, *args, **kw):
pass pass
...@@ -1918,3 +1921,5 @@ class TempBase(Base): ...@@ -1918,3 +1921,5 @@ class TempBase(Base):
def getTitle(self): def getTitle(self):
return getattr(self,'title',None) 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