Commit 49c28d63 authored by Nicolas Wavrant's avatar Nicolas Wavrant

testERP5CatalogSecurityUidOptimization: fix property setters

parent 388f1692
...@@ -110,14 +110,14 @@ CREATE TABLE alternate_roles_and_users ( ...@@ -110,14 +110,14 @@ CREATE TABLE alternate_roles_and_users (
role_name='Auditor', role_name='Auditor',
role_base_category_script_id='ERP5Type_getSecurityCategoryFromSelf', role_base_category_script_id='ERP5Type_getSecurityCategoryFromSelf',
role_base_category='agent', role_base_category='agent',
local_role_group_value=self.portal.portal_categories.local_role_group.Alternate.getRelativeUrl()) local_role_group=self.portal.portal_categories.local_role_group.Alternate.getRelativeUrl())
# add another role information that does not grant view permission # add another role information that does not grant view permission
self.portal.portal_types.Person.newContent( self.portal.portal_types.Person.newContent(
portal_type='Role Information', portal_type='Role Information',
role_name='Unknown', role_name='Unknown',
role_category_list=('group/g1'), role_category_list=('group/g1'),
role_base_category='group', role_base_category='group',
local_role_group_value=self.portal.portal_categories.local_role_group.Alternate.getRelativeUrl()) local_role_group=self.portal.portal_categories.local_role_group.Alternate.getRelativeUrl())
self.portal.portal_caches.clearAllCache() self.portal.portal_caches.clearAllCache()
self.tic() self.tic()
......
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