erp5 issueshttps://lab.nexedi.cn/rporchetto/erp5/-/issues2023-06-30T03:22:55Zhttps://lab.nexedi.cn/rporchetto/erp5/-/issues/1Custom actions fail when anonymous2023-06-30T03:22:55ZRoqueCustom actions fail when anonymousTo get the form definition of a portal action involves to get "put action" in the "_actions" field, which is forbidden for anonymous user.
See:
https://lab.nexedi.com/nexedi/erp5/blob/master/bt5/erp5_hal_json_style/SkinTemplateItem/portal_skins/erp5_hal_json_style/ERP5Document_getHateoas.py#L855-862
To get the form definition of a portal action involves to get "put action" in the "_actions" field, which is forbidden for anonymous user.
See:
https://lab.nexedi.com/nexedi/erp5/blob/master/bt5/erp5_hal_json_style/SkinTemplateItem/portal_skins/erp5_hal_json_style/ERP5Document_getHateoas.py#L855-862