Hi @gfardoux
I think you need the edit_posts capabilities too to make it works. The easiest way to test is to copy the capabilities from the editor or author role. After that, you can disable the capabilities one by one to see which one is the right capability to use.
I hope this helps.