Commit 8fb7025d authored by Nicolas Delaby's avatar Nicolas Delaby

Test if user without View permission can not see Object even if Role is defined

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19102 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 516a4e19
No related merge requests found
......@@ -1620,6 +1620,7 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor):
folder = self.getOrganisationModule()
ob1 = folder.newContent(title='Object Title')
ob1.manage_permission('View', ['Member'], 1)
ob1.manage_addLocalRoles('bob', ['Assignee'])
ob2 = folder.newContent(title='Object Title')
ob2.manage_addLocalRoles('bob', ['Assignee'])
get_transaction().commit()
......
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