Fix/permissions on v2 types controller

https://www.openproject.org/work_packages/16343