[Zope] Change object/role permissions w/ python?

John Toews john.toewsllc at gmail.com
Thu Jan 5 22:13:13 EST 2006


Hi all,

I have a need to restrict anonymous access to an object until after a
specific action occurs. For example, the View permission by default is
restricted to owner and manager, but after a 'release' flag is checked, it
is viewable to anyone. I can't seem to find a way to do this
programatically, after googling for a few hours over the past few weeks. Is
it possible? I think the user running the action would need 'change
permissions' rights... is there anyway to override that?

Thanks again!
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20060105/45dab29a/attachment.htm


More information about the Zope mailing list