Commit 55cbec5f authored by Mame Coumba Sall's avatar Mame Coumba Sall

Give User Modify Portal Content permission

In two tests, user as the author of the document tries to
modify it by giving it a title but he's not able to do so
because he does not have the ModifyPortalContent permission.
parent c11929bf
...@@ -69,6 +69,7 @@ class TestTemplate(ERP5TypeTestCase): ...@@ -69,6 +69,7 @@ class TestTemplate(ERP5TypeTestCase):
self.portal.foo_module.manage_role(role_to_manage='Author', self.portal.foo_module.manage_role(role_to_manage='Author',
permissions=[Permissions.AddPortalContent, permissions=[Permissions.AddPortalContent,
Permissions.CopyOrMove, Permissions.CopyOrMove,
Permissions.ModifyPortalContent,
]) ])
def test_Template(self): 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