Commit 5a540c1c authored by Ivan Tyagov's avatar Ivan Tyagov

Test default Web Site Module security.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36257 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2292b2d6
...@@ -1661,6 +1661,15 @@ class TestERP5WebWithSimpleSecurity(ERP5TypeTestCase): ...@@ -1661,6 +1661,15 @@ class TestERP5WebWithSimpleSecurity(ERP5TypeTestCase):
self.logout() self.logout()
self.assertEquals(1, len(website.WebSection_getDocumentValueList())) 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): class TestERP5WebCategoryPublicationWorkflow(ERP5TypeTestCase):
"""Tests possible transitions for category_publication_workflow""" """Tests possible transitions for category_publication_workflow"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment