Can I add more roles than Manager and Owner? Also, where can I find the description of their powers? Or is Manager simply the superuser for all objects and Owner the superuser for objects owned by oneself? -- martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck NOTE: The pgp.net keyservers and their mirrors are broken! Get my key here: http://people.debian.org/~madduck/gpg/330c4a75.asc "the liar at any rate recognizes that recreation, not instruction, is the aim of conversation, and is a far more civilized being than the blockhead who loudly expresses his disbelief in a story which is told simply for the amusement of the company." -- oscar wilde
martin f krafft wrote:
Can I add more roles than Manager and Owner?
Also, where can I find the description of their powers? Or is Manager simply the superuser for all objects and Owner the superuser for objects owned by oneself?
Do you have read the ZopeBook??? http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/Security.stx Please read it and ask all the things you don't understand!!! But please read it first...:) /mj
also sprach Maik Jablonski <maik.jablonski@uni-bielefeld.de> [2002.12.20.1800 +0100]:
Do you have read the ZopeBook???
Yes, I did.
http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/Security.stx
I did, but in a short time. There was too much information and I just couldn't remember reading this one.
Please read it and ask all the things you don't understand!!! But please read it first...:)
I will. Please accept my apologies... -- martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck NOTE: The pgp.net keyservers and their mirrors are broken! Get my key here: http://people.debian.org/~madduck/gpg/330c4a75.asc
is there anything else i can contribute? the latitude and longitude of the bios writers' current position, and a ballistic missile. -- alan cox
martin f krafft writes:
Can I add more roles than Manager and Owner? You can, as much as you like. Its at the end of the "Security" page.
Also, where can I find the description of their powers? Or is Manager simply the superuser for all objects and Owner the superuser for objects owned by oneself? A role does not have any built in power (with the exception of "Manager" which, by default, has any permission).
You associate roles with users (which means that the user can act in the role). You map permissions to roles (which means that the role has the permission). You protect methods by permissions. User "u" can call method "m" protected by permission "p" when "u" has a role "r" associated with permission "p". (There is another quirk to prevent Trojan horse attacks, but read about that in the Zope Developer Guide). The "Owner" role has no built in power but is automatically mapped as a "local role" (--> Zope Book, Zope Developer Guide) to the creator of an object. Dieter
participants (3)
-
Dieter Maurer -
Maik Jablonski -
martin f krafft