Re: [Zope] Adding users with a PythonMethod

2001-01-23 Thread Dieter Maurer
Curtis Maloney writes: I'm trying to add a users from within a PythonMethod. I have searched this list and found examples of how to add via DTML, but they all seem to require REQUEST. ... So, what I'm left to conclude is it's easier to add a new user from DTML than it is

[Zope] Adding users with a PythonMethod

2001-01-22 Thread Curtis Maloney
Greetings, I'm trying to add a users from within a PythonMethod. I have searched this list and found examples of how to add via DTML, but they all seem to require REQUEST. I have built a dictionary containing the appropriate keys, and passed that as REQUEST, and the

[Zope] Adding Users To Acl_users

2000-12-14 Thread Mike Kelland
Is it possible to add users to acl users from a form other than that in the acl_users folder? I've tried replicating the form within a dtml-with acl_users tag with no luck so far, has anyone actually done this and made it work? Thanks! Mike Kelland [EMAIL PROTECTED]

RE: [Zope] Adding Users To Acl_users

2000-12-14 Thread Steve Drees
Is it possible to add users to acl users from a form other than that in the acl_users folder? I've tried replicating the form within a dtml-with acl_users tag with no luck so far, has anyone actually done this and made it work? dtml-call "REQUEST.set('name','bill')" dtml-call

Re: [Zope] Adding Users To Acl_users

2000-12-14 Thread Mike Kelland
rsday, December 14, 2000 11:35 AM Subject: RE: [Zope] Adding Users To Acl_users Is it possible to add users to acl users from a form other than that in the acl_users folder? I've tried replicating the form within a dtml-with acl_users tag with no luck so far, has anyone actually done this

[Zope] Adding users to acl_users

2000-12-08 Thread Mike Kelland
Hi everyone, I tried to add the manage_users thing that someone referred me to (sorry that I don't remember who) and got the following error: Error Type: KeyErrorError Value: __cmp__ my code is as follows: table width="600" border="0" cellpadding="3" cellspacing="1"tr class="one"td

[Zope] Adding users

2000-12-06 Thread Mike Kelland
Is it possible to have a form in a zope page that allows you to add a new user to the acl_users folder? I can get the data I need, I just need to know, if I have the user name and password as dtml variables, and the user adding the other user has all the appropriate permissions, is there a

Re: [Zope] Adding users

2000-12-06 Thread Randall Kern
dtml-call expr="REQUEST.set('name', 'Joe')". For examples of the form technique, look at zope/lib/python/AccessControl/addUser.dtml -Randy - Original Message - From: Mike Kelland To: [EMAIL PROTECTED] Sent: Wednesday, December 06, 2000 8:47 PM Subject:

Re: [Zope] Adding users via external method

2000-06-27 Thread Timothy Grant
Following up on my own message... OK, so now I have a lovely external method that reads a datafile, returns a list of tuples that I can then use in a DTML Method to add my users. So far so good. I have come upon some situations where I also need to add Roles. I can find nothing archived nor on

Re: [Zope] Adding users via external method

2000-06-27 Thread ethan mindlace fremen
Timothy Grant wrote: I have come upon some situations where I also need to add Roles. I can find nothing archived nor on the Zope site about programmatically adding Roles. Can anyone assist me? hmm. I don't know how you're adding users without indicating their roles. I do this:

Re: [Zope] Adding users via external method

2000-06-22 Thread ethan mindlace fremen
Timothy Grant wrote: I'm working on a project where it would be very nice to add all the original users via a script. I'm working with an external method that should--I believe use manage_user() to add the users. I use a dtml_method for this, actually. I don't know how to do it with an

[Zope] Adding users via external method

2000-06-21 Thread Timothy Grant
Hi all, I'm working on a project where it would be very nice to add all the original users via a script. I'm working with an external method that should--I believe use manage_user() to add the users. My confusion comes from where does the external method go in the hierarchy? From my reading it