Hello all, I know I can "take ownership" of objects, but is there a convenient way to "give ownership" to someone? TIA. Samir
Grant the 'Owner' role to a member. -aj --On Mittwoch, 10. September 2003 8:16 Uhr +0400 Samir Mishra <SamirMishra@cbuae.gov.ae> wrote:
Hello all,
I know I can "take ownership" of objects, but is there a convenient way to "give ownership" to someone?
TIA.
Samir
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
On Wed, 10.09.2003 at 08:16 +0400, Samir Mishra wrote:
I know I can "take ownership" of objects, but is there a convenient way to "give ownership" to someone?
context.manage_addLocalRoles(username, ['role']) -- paavo. Proletarier aller Länder, macht Schluß!
On Wed, 10.09.2003 at 07:32 +0300, Paavo Parkkinen wrote:
On Wed, 10.09.2003 at 08:16 +0400, Samir Mishra wrote:
I know I can "take ownership" of objects, but is there a convenient way to "give ownership" to someone?
context.manage_addLocalRoles(username, ['role'])
I'm such a moron. Of course 'role' should be 'Owner'. -- paavo. Proletarier aller Länder, macht Schluß!
Paavo Parkkinen wrote:
On Wed, 10.09.2003 at 07:32 +0300, Paavo Parkkinen wrote:
On Wed, 10.09.2003 at 08:16 +0400, Samir Mishra wrote:
I know I can "take ownership" of objects, but is there a convenient way to "give ownership" to someone?
context.manage_addLocalRoles(username, ['role'])
I'm such a moron. Of course 'role' should be 'Owner'.
That's the same as the Owner role Andreas was talking about, I don't think it's "Ownership" of the sense that Samir was talking about. Not sure you can 'give' ownership. If you really had to, I'd probably do it as an external method and take a look at the code for the "take ownership" method and adapt that... Chris
participants (4)
-
Andreas Jung -
Chris Withers -
Paavo Parkkinen -
Samir Mishra