Fix/permissions on v2 types controller

https://www.openproject.org/work_packages/16343
Expression at 36, 79 should be on its own line.