[Zope-CVS] CVS: Products/PluggableAuthService/plugins -
CookieAuthHelper.py:1.14
Jens Vagelpohl
jens at dataflake.org
Thu Feb 3 19:31:01 EST 2005
Update of /cvs-repository/Products/PluggableAuthService/plugins
In directory cvs.zope.org:/tmp/cvs-serv20107/plugins
Modified Files:
CookieAuthHelper.py
Log Message:
- stop the permission madness and make the login form accessible again
=== Products/PluggableAuthService/plugins/CookieAuthHelper.py 1.13 => 1.14 ===
--- Products/PluggableAuthService/plugins/CookieAuthHelper.py:1.13 Wed Dec 8 10:41:32 2004
+++ Products/PluggableAuthService/plugins/CookieAuthHelper.py Thu Feb 3 19:31:00 2005
@@ -21,6 +21,7 @@
from urllib import quote, unquote
from AccessControl.SecurityInfo import ClassSecurityInfo
+from AccessControl.Permissions import view
from OFS.Folder import Folder
from App.class_init import default__class_init__ as InitializeClass
from Products.PageTemplates.PageTemplateFile import PageTemplateFile
@@ -155,7 +156,7 @@
, text=BASIC_LOGIN_FORM
)
login_form.title = 'Login Form'
- login_form.__roles__ = []
+ login_form.manage_permission(view, roles=['Anonymous'], acquire=1)
self._setObject( 'login_form', login_form, set_owner=0 )
More information about the Zope-CVS
mailing list