Hi everyone I have a question about creating new "Permissions" in the security section of an object, is it possible and if it is, then how? i.ex: ---------------------------------------------------------------------- ------------ | Acquire Permissions Roles | | permission Anonymous Manager Owner | | settings | | | | X Access contents information X X X | | X Change DTML Methods _ X X | | X Edit Document (this is the | | new one I'd like to create) _ X X | ---------------------------------------------------------------------- ------------ Is this possible?
(sorry about reposting, I don't mean to spam the already over crowded zope-list but my first mail was a bit messy :)
Hi everyone
I have a question about creating new "Permissions" in the security section of an object, is it possible and if it is, then how? i.ex:
Acquire Permissions Roles permission Anonymous Manager Owner settings
X Access contents information X X X X Change DTML Methods _ X X X Edit Document (this is the | new one I'd like to create) _ X X
Is this possible?
_______________________________________________ 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, 24 Nov 1999, Joonas Rapila wrote:
I have a question about creating new "Permissions" in the security section of an object, is it possible and if it is, then how? i.ex:
If you need to create permissions for standard objects - you need to understand the entire Zope sources and modify it. But new Zope components (products) can easily define its own permissions. Look into Boring product for examples. I created two demo products based on Boring, you can gram sources here: http://sun.med.ru/~phd/Software/Zope/ Look demo here: http://sun.med.ru/Zope/Random; there is even Read-Only ADmin login, so you can see most aspects in action. My products define Permissions for viewing and editing; I allowed viewing for all, but editing only for Managers. Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
participants (2)
-
Joonas Rapila -
Oleg Broytmann