Zopistas, I need to have a dtml-method that does manage_clone, manage_changeProperties, and manage_users. It has to let an anonymous user do this: I have to set up accounts for people automagically. I cannot seem- either with a product or just a straight method- to give it the permission it needs to be called anonymously. If anyone could give me a hint as to how to achieve this, that would be great. I looked at http://yyy.zope.org/Register/register.html , but I cannot seem to get the dtml code for the actual new-user-maker. -- http://mindlace.net __________________ mindlace@imeme.net I don't want The Truth but I wouldn't mind a Big Analogy.
I was just about to implement a similar method, and it occurred to me that I would have to give a proxy role to the method so that it could add a user. Have you tried that? -- Loren
-----Original Message----- From: self@zope.org [mailto:self@zope.org]On Behalf Of mindlace Sent: Sunday, March 26, 2000 05:03 To: zope@zope.org Subject: [Zope] anonymous Products?
Zopistas,
I need to have a dtml-method that does manage_clone, manage_changeProperties, and manage_users.
It has to let an anonymous user do this: I have to set up accounts for people automagically.
I cannot seem- either with a product or just a straight method- to give it the permission it needs to be called anonymously.
If anyone could give me a hint as to how to achieve this, that would be great.
I looked at http://yyy.zope.org/Register/register.html , but I cannot seem to get the dtml code for the actual new-user-maker. -- http://mindlace.net __________________ mindlace@imeme.net I don't want The Truth but I wouldn't mind a Big Analogy.
_______________________________________________ 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 )
Loren Stafford wrote:
I was just about to implement a similar method, and it occurred to me that I would have to give a proxy role to the method so that it could add a user. Have you tried that?
Yes, at one point, in desparation, my method had all the rights I could grant it :) It turned out that you have to give the rights to the object you're cloning, too. Ethan -- http://mindlace.net __________________ mindlace@imeme.net I don't want The Truth but I wouldn't mind a Big Analogy.
participants (2)
-
Loren Stafford -
mindlace