Commit 2ae5fafe authored by Jens Vagelpohl's avatar Jens Vagelpohl

- LP #143722: Added missing permission to ObjectManager.manage_hasId,

  which prevented renaming files and folders via FTP.
parent b592d3ef
...@@ -11,6 +11,9 @@ http://docs.zope.org/zope2/releases/. ...@@ -11,6 +11,9 @@ http://docs.zope.org/zope2/releases/.
Bugs Fixed Bugs Fixed
++++++++++ ++++++++++
- LP #143722: Added missing permission to ObjectManager.manage_hasId,
which prevented renaming files and folders via FTP.
- LP #143564: Request.resolve_url did not correctly re-raise - LP #143564: Request.resolve_url did not correctly re-raise
exceptions encountered during path traversal. exceptions encountered during path traversal.
......
...@@ -733,6 +733,7 @@ class ObjectManager(CopyContainer, ...@@ -733,6 +733,7 @@ class ObjectManager(CopyContainer,
out=out+((k,stat),) out=out+((k,stat),)
return marshal.dumps(out) return marshal.dumps(out)
security.declareProtected(ftp_access, 'manage_hasId')
def manage_hasId(self, REQUEST): def manage_hasId(self, REQUEST):
""" check if the folder has an object with REQUEST['id'] """ """ check if the folder has an object with REQUEST['id'] """
......
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