[Erp5-report] r36257 ivan - /erp5/trunk/products/ERP5/tests/testERP5Web.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Jun 11 08:14:50 CEST 2010
Author: ivan
Date: Fri Jun 11 08:14:46 2010
New Revision: 36257
URL: http://svn.erp5.org?rev=36257&view=rev
Log:
Test default Web Site Module security.
Modified:
erp5/trunk/products/ERP5/tests/testERP5Web.py
Modified: erp5/trunk/products/ERP5/tests/testERP5Web.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testERP5Web.py?rev=36257&r1=36256&r2=36257&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testERP5Web.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testERP5Web.py [utf8] Fri Jun 11 08:14:46 2010
@@ -1661,6 +1661,15 @@ class TestERP5WebWithSimpleSecurity(ERP5
self.logout()
self.assertEquals(1, len(website.WebSection_getDocumentValueList()))
+ def test_WebSiteModuleDefaultSecurity(self):
+ """
+ Test that by default Anonymous User may access Web Site Module
+ """
+ portal = self.portal
+ self.logout()
+ portal.restrictedTraverse('web_site_module')
+ portal.web_site_module.view()
+
class TestERP5WebCategoryPublicationWorkflow(ERP5TypeTestCase):
"""Tests possible transitions for category_publication_workflow"""
More information about the Erp5-report
mailing list