[Zope] login to edit ZWiki

Dieter Maurer dieter@handshake.de
Sun, 9 Feb 2003 20:26:45 +0100


Streph Treadway wrote at 2003-2-8 14:12 -0500:
 > This is assuredly a quite trivial question, but I haven't found the
 > answer in my looks through the documentation and list archives.
 > 
 > I am VERY new to zope (about 20 hours).  I am interested in setting up a
 > wiki that may be viewed by all users but edited only by a group of
 > authenticated users, my students.  This security policy is very easy to
 > arrange using roles.  According to the Zope Book, zope will
 > prompt for authentication when an annonymous user requests a resource
 > for which he is not authorized.  Under the security policy I have
 > defined, the default ZWiki footer's edit and comment links only
 > appear when viewed by an authenticated user, so a student who enters the
 > wiki at the FrontPage will never be prompted for login and will not be
 > able to edit the wiki.  I realize this may be dealt with by rewriting
 > the ZWiki footer, but I am hoping there is a simple out-of-the-box
 > solution.  Perhaps a quick way to add a link to the authentication
 > prompt.
You can put a "footer" template in your Wiki and it will be used.

I do not know the precise name. Look at the source, if necessary.


Dieter