Basically with this line the relationship was read only while the code was expecting a read/write relationship to remove the link between and user and a project.
Fixes https://pagure.io/fedora-infrastructure/issue/6198
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr
rebased
Will look into adding tests for this
admins and committers?
We can keep them read-only for the moment, this is just to fix removing an user from a project and that uses the users list.
:thumbsup:
Added tests for this change :)
Thanks for the review!
Pull-Request has been merged by pingou
Basically with this line the relationship was read only while the code
was expecting a read/write relationship to remove the link between and
user and a project.
Fixes https://pagure.io/fedora-infrastructure/issue/6198
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr