core: fix edit_workflow/edit permission

This transition should not be more restrictive that the original
method ie. 'Modify portal content' for "real" documents and public
for temp objects.
2 jobs for fix/edit_temp_object in 0 seconds
Status Job ID Name Coverage
  External
failed ERP5.CodingStyleTest-TestRunner2

01:05:47

failed ERP5.UnitTest-TestRunner2

01:41:18