[Zope] Login dialog - another newbie question

2001-01-04 Thread Michal Krejza

Hi Zopitas,
I have problem with authentication in Zope. I made small site in our
company, and some informations are visible for anonymous user and some for
managers. So I need to authorize users before they connect to restricted
area. It's late for me, becose access to restricted methods is able through
links, which are visible only for managers. Is there any way to make some
form for login to Zope. But without another application like LoginManager or
MySQL User Folder and etc. My Zope server is running on WinNT and I have
problem with these application.

Michal Krejza

When users connect to a restricted area a dialog box pops up that
 looks more or less like this:


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




[Zope] Newbie question - Link between Methods based on Authorization

2000-12-19 Thread Michal Krejza

I am still newbie in Zope, so my question may be stupid - sorry.

I have problem with access to method. Example - There are two methods: A and
B. Method A contains common information, accessible for all user (include
anonymous). Source code in method B updates data for method A and access for
method B is restrict only for users with roles "AdminTables". There is a
link from method A to method B in the code of script A, and this link is
viewable for all user (also for anonym). After click on this link, user is
asked for authentication. So there is no problem, but HOW MAKE THIS LINK
VIEWABLE ONLY FOR USER WITH AUTORIZATION FOR OBJEKT B ???

Thx for your tips, Michal


___
Zope maillist  -  [EMAIL PROTECTED]
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 )