Commit 3cea76c1 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_erp5: Security was updated for Sale Trade Condition

parent 6179081a
......@@ -1560,9 +1560,10 @@ class TestSaleTradeConditionModule(TestSlapOSGroupRoleSecurityMixin):
module = self.portal.sale_trade_condition_module
self.changeOwnership(module)
self.assertSecurityGroup(module,
['G-COMPANY', self.user_id, 'R-MEMBER'], False)
['G-COMPANY', self.user_id, 'R-MEMBER', 'R-SHADOW-PERSON'], False)
self.assertRoles(module, 'G-COMPANY', ['Auditor', 'Author'])
self.assertRoles(module, 'R-MEMBER', ['Auditor'])
self.assertRoles(module, 'R-SHADOW-PERSON', ['Assignor'])
self.assertRoles(module, self.user_id, ['Owner'])
class TestSaleTradeCondition(TestSlapOSGroupRoleSecurityMixin):
......
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