Commit 85b578f6 authored by Mame Coumba Sall's avatar Mame Coumba Sall

Give User Access Contents Information in foo module

For user to do manage_copyObjects in Base_makeTemplateFromDocument,
he has to have AccessContentsInformation permissions.
parent f7dfc5e9
......@@ -69,6 +69,7 @@ class TestTemplate(ERP5TypeTestCase):
self.portal.foo_module.manage_role(role_to_manage='Author',
permissions=[Permissions.AddPortalContent,
Permissions.CopyOrMove,
Permissions.AccessContentsInformation,
])
def test_Template(self):
......
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