erp5_hal_json_style: relationfield is rendered as no editable with empty value...
erp5_hal_json_style: relationfield is rendered as no editable with empty value when user can't access related document
Showing
foo1 = context.foo_module.newContent(portal_type='Foo') | |||
foo2 = context.foo_module.newContent(portal_type='Foo') | |||
foo1.setTitle('hasAccessUnauthorized') | |||
foo1.setSuccessorValue(foo2) | |||
foo1.immediateReindexObject() | |||
foo2.immediateReindexObject() | |||
|
|||
foo2.activate().manage_permission( 'Access contents information', 'Manager', 0) | |||
return 'Done' |