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

[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 following

Re: [Zope] Adding Users To Acl_users

2000-12-14 Thread Mike Kelland
PROTECTED]> Sent: Thursday, 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

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? Creates a user bill with password mypassword and role of

[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]  

[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:   User Name:   Password:Confirm Password:   Role: Manager Ow

Re: [Zope] Adding users

2000-12-06 Thread Randall Kern
/AccessControl/addUser.dtml   -Randy - Original Message - From: Mike Kelland To: [EMAIL PROTECTED] Sent: Wednesday, December 06, 2000 8:47 PM Subject: [Zope] Adding users Is it possible to have a form in a zope page that allows you to add a new user to the

[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 via external method

2000-06-27 Thread Timothy Grant
I am specifying roles, however, it turns out that some of the roles don't exist within the Zope framework yet, so I need to add the roles before I attempt to add the user. On Tue, Jun 27, 2000 at 09:36:55PM -0400, ethan mindlace fremen wrote: > Timothy Grant wrote: > > > I have come upon some si

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: wher

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 t

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 a

[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