Re: changing permissions on classes/methods at runtime?
Sean Upton <[email protected]>
| Newsgroups | gmane.comp.web.zope.general |
|---|---|
| Message-ID | <CANjV-2PyWFv2e6hO7BibKswLcT5v7jqhSJ+3b8Vjv1y+=oxw-w@mail.gmail.com> |
On Wed, Feb 29, 2012 at 7:12 AM, Jürgen Herrmann <[email protected]> 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 _______________________________________________ Zope maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )