Can't set security on file objects (bug)
Hi, I'm trying to protect some documents (binary) from being viewed. I've uploaded them as file objects, but I can't set the "view" security property from them. I get a Zope error: Error Type: AttributeError Error Value: tag I think I can achieve my goal with a protected directory, but I think this is a bug (Zope 2.1.4). Greetings, Michiel --
From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey."
What's the traceback embeded in the HTML error page? -Michel Michiel Toneman wrote:
Hi,
I'm trying to protect some documents (binary) from being viewed. I've uploaded them as file objects, but I can't set the "view" security property from them. I get a Zope error:
Error Type: AttributeError Error Value: tag
I think I can achieve my goal with a protected directory, but I think this is a bug (Zope 2.1.4).
Greetings,
Michiel
-- From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey."
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On Wed, 23 Feb 2000, Michel Pelletier wrote:
What's the traceback embeded in the HTML error page?
-Michel
Hi Michel This is what I get: Traceback (innermost last): File /usr/local/Zope-2.1.4-linux2-x86/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /usr/local/Zope-2.1.4-linux2-x86/lib/python/ZPublisher/Publish.py, line 179, in publish File /usr/local/Zope-2.1.4-linux2-x86/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: test) File /usr/local/Zope-2.1.4-linux2-x86/lib/python/ZPublisher/Publish.py, line 165, in publish File /usr/local/Zope-2.1.4-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_changePermissions) File /usr/local/Zope-2.1.4-linux2-x86/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: manage_changePermissions) File /usr/local/Zope-2.1.4-linux2-x86/lib/python/AccessControl/Role.py, line 247, in manage_changePermissions (Object: test) File /usr/local/Zope-2.1.4-linux2-x86/lib/python/AccessControl/Permission.py, line 171, in setRoles AttributeError: (see above) Greetings, Michiel
Hi,
I'm trying to protect some documents (binary) from being viewed. I've uploaded them as file objects, but I can't set the "view" security property from them. I get a Zope error:
Error Type: AttributeError Error Value: tag
I think I can achieve my goal with a protected directory, but I think this is a bug (Zope 2.1.4).
Greetings,
Michiel
--
From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey."
participants (2)
-
Michel Pelletier -
Michiel Toneman