[Zope] changing permissions on classes/methods at runtime?
Sean Upton
sdupton at gmail.com
Mon Mar 5 18:22:34 UTC 2012
On Wed, Feb 29, 2012 at 7:12 AM, Jürgen Herrmann
<Juergen.Herrmann at xlhost.de> wrote:
> hi all!
>
> is it possible to change permissions and roles on classes/methods
> at runtime? normally you'd attach security declarations inline in
> your class definition code:
I don't off-hand know why just monkey-patching the security attribute
of your class and then calling InitializeClass() again would not work,
but the idea of changing these at runtime after initial zope startup
sounds a bit odd, possibly dangerous. What is it that you are trying
to do?
Sean
More information about the Zope
mailing list