[api] fix and test permission handling on release action for projects. checking now the target, not the source
[api][backend] fix release mechanism of products
[api] satify code quality check