[Zope] Rolls of Roles

Mike Webb finlaugh@ispchannel.com
Sat, 24 Mar 2001 13:07:40 -0600


Is it posible to get a list of all possible roles defined.  I would like to
get the list to use in a python script.

Thanks
Mike
----- Original Message -----
From: <zope-request@zope.org>
To: <zope@zope.org>
Sent: Saturday, March 24, 2001 11:01 AM
Subject: Zope digest, Vol 1 #1275 - 13 msgs


> Send Zope mailing list submissions to
> zope@zope.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.zope.org/mailman/listinfo/zope
> or, via email, send a message with subject or body 'help' to
> zope-request@zope.org
>
> You can reach the person managing the list at
> zope-admin@zope.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Zope digest..."
>
>
> Today's Topics:
>
>    1. Re: How to pass values from python script back to calling
dtml-method ??? (Siggy Brentrup)
>    2. simple DTML-VAR question for Images (Jaymer)
>    3. Idiots guide to installing Zope (christiaan)
>    4. Re: Idiots guide to installing Zope (Philippe Jadin)
>    5. FastCGI & how to block port 8080 access (Simon Blandford)
>    6. Re: Adding Folders and index_html from Python Script (karthick
ramanarayanan)
>    7. Re: FastCGI & how to block port 8080 access (Takashi Veikko
Linzbichler)
>    8. Re: FastCGI & how to block port 8080 access (Simon Blandford)
>    9. Re: copying Data.fs (Tino Wildenhain)
>   10. Zope based Authentication. Why Why Why (Mohan Baro)
>   11. Re: Idiots guide to installing Zope (Tino Wildenhain)
>   12. RE: Zope based Authentication. Why Why Why (Steve Drees)
>   13. Re: Zope based Authentication. Why Why Why (Tony McDonald)
>
> --__--__--
>
> Message: 1
> To: zope@zope.org
> Subject: Re: [Zope] How to pass values from python script back to calling
dtml-method ???
> From: Siggy Brentrup <bsb@winnegan.de>
> Date: 24 Mar 2001 02:48:53 +0100
>
> "Anton A. Zotov" <futurb@nh.km.ua> writes:
>
> > Greeting, people !
> > I may seem completely ignorant, but Zope namespaces are driving me wild
for
> > the last couple of days :-(
> > I need to solve a pretty simple task:
> > I have a dtml-method which calls a Python script. When that python
script is
> > through, it has a variable (say, returnValue="return value"). How can I
> > access this variable in calling dtml method ?
> > Please help !!!!
>
> Maybe I don't understand,
>
> anyway, did you try
>
>  return returnValue
>
> in your Python script?
>
> HIH
>   Siggy
>
> --
> Siggy Brentrup - bsb@winnegan.de - http://www.winnegan.de/
> ****** ceterum censeo javascriptum esse restrictam *******
>
>
>
> --__--__--
>
> Message: 2
> From: "Jaymer" <jaymer_egroups@jaymer.com>
> To: zope@zope.org
> Date: Sat, 24 Mar 2001 01:18:03 -0500
> Subject: [Zope] simple DTML-VAR question for Images
>
> I'm having a brain fart...
>
> So, if I'm in my standard footer, for example, and I want to display an
> image, but the image is located in a SUBDIRECTORY, then how can I
> reference that Image Object since it is "below" my current path and the
> <DTML-var> acquisition stuff won't work?
>
> It makes sense to place all images in a common subdir, and I
> obviously don't want to hardcode the path into the footer.   I've
> seen the way squishdot uses their advertising method, for example, to
> place a banner add and link at the top... but I don't want to do through
> all that.
>
> I'm sure I'm just missing a piece of syntax.
>
> tia,
> jaymer...
>
>
>
> --__--__--
>
> Message: 3
> From: "christiaan" <christiaan@theron.screaming.net>
> To: <zope@zope.org>
> Date: Sat, 24 Mar 2001 09:21:57 -0800
> Subject: [Zope] Idiots guide to installing Zope
>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_0010_01C0B443.DFE047C0
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Hi.
> >
> > I am doing some research for a website that I am building for a =
> non-profit making website.
> > An important function of the website will be a news section.
> > I understand that Zope will be able to assist with the editorial =
> process.
> > I have downloaded three versions of zope to check it out and so far I =
> have not managed to get one installed.
> > Could you please send me an idiots guide to installing Zope on a =
> windows 98  home pc.
> > I have also downloaded squishdot. Could you please point me in the =
> direction of what zope applications may be useful for a news web site?
>
> I look forward to your reply.
> > Christiaan
>
>
> ------=_NextPart_000_0010_01C0B443.DFE047C0
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META content=3D"text/html; charset=3Diso-8859-1" =
> http-equiv=3DContent-Type>
> <META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DArial size=3D2>Hi.<BR>&gt;<BR>&gt; I am doing some =
> research for a=20
> website that I am building for a non-profit making website.<BR>&gt; An =
> important=20
> function of the website will be a news section.<BR>&gt; I understand =
> that Zope=20
> will be able to assist with the editorial process.<BR>&gt; I have =
> downloaded=20
> three versions of zope to check it out and so far I have not managed to =
> get one=20
> installed.<BR>&gt; Could you please send me an idiots guide to =
> installing Zope=20
> on a windows 98&nbsp; home pc.<BR>&gt; I have also downloaded squishdot. =
> Could=20
> you please point me in the direction of what zope applications may be =
> useful for=20
> a news web site?<BR></FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>I look forward to your reply.<BR>&gt;=20
> Christiaan<BR></DIV></FONT></BODY></HTML>
>
> ------=_NextPart_000_0010_01C0B443.DFE047C0--
>
>
>
> --__--__--
>
> Message: 4
> From: "Philippe Jadin" <philippe.jadin@123piano.com>
> To: "christiaan" <christiaan@theron.screaming.net>, <zope@zope.org>
> Subject: Re: [Zope] Idiots guide to installing Zope
> Date: Sat, 24 Mar 2001 11:19:24 +0100
>
> > Could you please send me an idiots guide to installing Zope on a windows
> 98  home pc.
>
> http://www.123piano.com/en/webdesign/zope-quickstart/default.htm
>
> Just written this in the morning, maybe not precise enough. Anyway I hope
> this helps.
>
> Philippe Jadin
>
>
>
> --__--__--
>
> Message: 5
> Date: Sat, 24 Mar 2001 10:44:10 +0000
> From: Simon Blandford <home@simonb.org.uk>
> To: zope@zope.org
> Subject: [Zope] FastCGI & how to block port 8080 access
>
> I have got Zope working with Apache via the Fast CGI method. I don't
> want anyone being able to access Zope on port 8080. How do I stop this
> happening.
>
> Regards,
> Simon Blandford.
>
>
>
> --__--__--
>
> Message: 6
> Date: Sat, 24 Mar 2001 11:43:09 +0100 (CET)
> Subject: Re: [Zope] Adding Folders and index_html from Python Script
> From: "karthick ramanarayanan" <ark@snapper.no>
> To: complaw@hal-pc.org
> Cc: zope@zope.org
> Reply-To: ark@snapper.no
>
> Hi,
>  Check out the source for manage_addFolder and you will find that you
> can specify 2 additional options or flags.
> They are for creation of user folders and the index_html template file.
> Just call the function with these 2 flags set and you get the acl_users
> and the index_html template in your folder.
> Cheers,
> A.R.K
>
> > Okay, I'm trying to create a site where the users can load information
> about
> > prospective clients and then add contact information about each client.
> This
> > is how it works now...
> >
> > I have a form that creates a folder with the name of the client as the
> title of
> > the folder.  No sweat.  I use...
> >
> > context.manage_addProduct['OFSP'].manage_addFolder(id=id,
> title=clientName)
> >
> > .. which works fine to make the folder itself.
> >
> > However, there is nothing in the folder (i.e., no index_html file).
> Thus, when
> > the user moves to the folder, they get the index_html from the parent
> folder.
> >
> > Is there a way to add a file to the newly created folder from a Python
> script?
> >  The contents of the file can be very easy (such as "<dtml-var
> > standard_html_header><dtml-var standard_html_footer>").
> >
> > As an asisde, I want to make the id of the folder a string that contains
> only
> > allowable characters that are taken from the name that the users input
> (with an
> > _ used in place of the blanks).  Is there a quick easy way to do that
> with some
> > library function that isn't showing up in the Python Library Reference
at
> > www.python.org?
> >
> > Thanks in advance,
> >
> > Ron
> >
> >
> >
> > _______________________________________________
> > 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 )
> >
>
>
> --
> Windows Sucks!!Linux Rules!!!.
>
>
>
>
> --__--__--
>
> Message: 7
> Date: Sat, 24 Mar 2001 12:52:38 +0100
> From: Takashi Veikko Linzbichler <takashi.linzbichler@smartferret.com>
> Organization: smartferret it-consulting
> To: Simon Blandford <home@simonb.org.uk>, zope@zope.org
> Subject: Re: [Zope] FastCGI & how to block port 8080 access
>
> Hi,
>
>
> Simon Blandford wrote:
> >
> > I have got Zope working with Apache via the Fast CGI method. I don't
> > want anyone being able to access Zope on port 8080. How do I stop this
> > happening.
>
> Don't know, whis OS you're using, with Linux I'd simply use an ipchains
> rule to block that specific port ...
>
> something like:
>
> [PATH_TO]/ipchains -A input -i [your network I/F] -p tcp -s 0.0.0.0/0 -d
> [your ip address] 8080 -j REJECT
>
> hth,
> ta
>
> --------------------------------------------------------------------------
> smartferret it-consulting Dipl.-Ing. Linzbichler KEG
>
> Dipl.-Ing. Takashi Veikko Linzbichler
> Tannhofweg 28/3
> A-8044 Graz, Austria
>
> Tel.:   0316 / 39 89 40 -0
> Fax:    0316 / 39 89 40 -20
> Mobil:  0676 / 31 26 286
> eMail:  takashi.linzbichler@smartferret.com
>
> WWW:    http://www.smartferret.com
> --------------------------------------------------------------------------
>
>
> --__--__--
>
> Message: 8
> Date: Sat, 24 Mar 2001 11:59:16 +0000
> From: Simon Blandford <home@simonb.org.uk>
> To: Takashi Veikko Linzbichler <takashi.linzbichler@smartferret.com>
> CC: zope@zope.org
> Subject: Re: [Zope] FastCGI & how to block port 8080 access
>
> Hi Takashi,
>
> Thanks for the info. I actually just solved the problem another way by
adding
> the "-w -" switch to the z2.py command in the start file. That switches
off
> Zserver http interface. Looking at the z2.py file itself gives an
explanation
> of the available command line options.
>
> Regards,
> Simon.
>
> Takashi Veikko Linzbichler wrote:
>
> > Hi,
> >
> > Simon Blandford wrote:
> > >
> > > I have got Zope working with Apache via the Fast CGI method. I don't
> > > want anyone being able to access Zope on port 8080. How do I stop this
> > > happening.
> >
> > Don't know, whis OS you're using, with Linux I'd simply use an ipchains
> > rule to block that specific port ...
> >
> > something like:
> >
> > [PATH_TO]/ipchains -A input -i [your network I/F] -p tcp -s 0.0.0.0/0 -d
> > [your ip address] 8080 -j REJECT
> >
> > hth,
> >         ta
> >
>
> --------------------------------------------------------------------------
> > smartferret it-consulting Dipl.-Ing. Linzbichler KEG
> >
> > Dipl.-Ing. Takashi Veikko Linzbichler
> > Tannhofweg 28/3
> > A-8044 Graz, Austria
> >
> > Tel.:   0316 / 39 89 40 -0
> > Fax:    0316 / 39 89 40 -20
> > Mobil:  0676 / 31 26 286
> > eMail:  takashi.linzbichler@smartferret.com
> >
> > WWW:    http://www.smartferret.com
>
> --------------------------------------------------------------------------
>
>
>
> --__--__--
>
> Message: 9
> Date: Sat, 24 Mar 2001 07:17:45 +0100
> From: Tino Wildenhain <tino@wildenhain.de>
> To: donald.braman@yale.edu
> Cc: zope@zope.org
> Subject: Re: [Zope] copying Data.fs
>
> Hi Donald,
>
> Donald Braman wrote:
> >
> > I'm trying to move a site from Linux to Win2000. Zope is installed and
> > running on both. I shut down both zope servers. I copy the Data.fs file.
I
> > start up the Win2000 Zope server. It give me an error. Are there special
> > tricks involved here? I haven't found documentation on platform
> > migration...is there any?
>
> I'm regulary copying Data.fs between Linux and Win98/NT.
> There is no magic involved in this beside you need identical
> installations in respect of installed products and such.
> The python version schould also be identical.
>
> If you tell us what "an error" in your particular case means,
> we could help you better.
>
> Regards
> Tino
>
>
> --__--__--
>
> Message: 10
> From: "Mohan Baro" <mcbaro@uwimona.edu.jm>
> To: <zope@zope.org>
> Date: Sat, 24 Mar 2001 10:54:23 -0500
> Subject: [Zope] Zope based Authentication. Why Why Why
>
> Hi all,
>
> Going thru the archives of this mail list, I can't help but notice the
> following
> 1) There are many zoper who need to use a login form to authenticate users
> 2) Most do not like http authentication
> 3) ZPatterns and LoginManager are good solutions, but are not appropiate
for
> new users (compilation required, usersourse required ... &&&& poor
> documentation.
>
>
> Why can't Zope's default authenication be form based? (cookie based, ZODB
> based ...)
> Why do we have to start with HTTP authentication? (can't logout, hard to
> manipulate)
> Why does everybody think ZPatterns/LoginManager is always the answer.
> (simple problem, Tough solution, overkill)
>
> Can somebody post a good form based authenication system without using
> ZPatterns/LoginManager.
>
> Mohan.
>
>
>
>
>
>
> --__--__--
>
> Message: 11
> Date: Sat, 24 Mar 2001 07:57:27 +0100
> From: Tino Wildenhain <tino@wildenhain.de>
> To: christiaan <christiaan@theron.screaming.net>
> Cc: zope@zope.org
> Subject: Re: [Zope] Idiots guide to installing Zope
>
> Hi Christian,
>
> if you just double-click the file
> Zope-2.3.0-win32-x86.exe
> read the instructions and wait for the install to complete,
> double click on start.bat, wait for the server to start up,
> point your browser to http://localhost:8080/manage
> and input your username and password?
>
> What is going wrong?
>
> Regards
> Tino
>
>
> > christiaan wrote:
> >
> > Hi.
> > >
> > > I am doing some research for a website that I am building for a
> > non-profit making website.
> > > An important function of the website will be a news section.
> > > I understand that Zope will be able to assist with the editorial
> > process.
> > > I have downloaded three versions of zope to check it out and so far
> > I have not managed to get one installed.
> > > Could you please send me an idiots guide to installing Zope on a
> > windows 98  home pc.
> > > I have also downloaded squishdot. Could you please point me in the
> > direction of what zope applications may be useful for a news web site?
> > I look forward to your reply.
> > > Christiaan
>
>
> --__--__--
>
> Message: 12
> From: "Steve Drees" <drees@the-bridge.net>
> To: "Mohan Baro" <mcbaro@uwimona.edu.jm>,
> <zope@zope.org>
> Subject: RE: [Zope] Zope based Authentication. Why Why Why
> Date: Sat, 24 Mar 2001 10:13:38 -0600
>
> > Why can't Zope's default authenication be form based? (cookie based,
ZODB
> > based ...)
>
> Here's an idea, You do it.
>
>
>
> --__--__--
>
> Message: 13
> Date: Sat, 24 Mar 2001 16:37:33 +0000
> Subject: Re: [Zope] Zope based Authentication. Why Why Why
> From: Tony McDonald <tony.mcdonald@ncl.ac.uk>
> To: Zope List <zope@zope.org>
>
> On 24/3/01 3:54 pm, "Mohan Baro" <mcbaro@uwimona.edu.jm> wrote:
>
> > Can somebody post a good form based authenication system without using
> > ZPatterns/LoginManager.
> >
> > Mohan.
>
>
> Try UserDB - available from the Zope site. You'll need MySQL. It works for
> us..
>
> Tone out.
> --
> Dr Tony McDonald,  Assistant Director, FMCC, http://www.fmcc.org.uk/
> The Medical School, Newcastle University Tel: +44 191 243 6140
> A Zope list for UK HE/FE  http://www.fmcc.org.uk/mailman/listinfo/zope
>
>
>
>
> --__--__--
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
>
>
>
> End of Zope Digest
>