]> git.ipfire.org Git - thirdparty/patchwork.git/commit
REST: Validate patch delegate
authorStephen Finucane <stephen@that.guru>
Thu, 11 Oct 2018 13:53:25 +0000 (14:53 +0100)
committerStephen Finucane <stephen@that.guru>
Sun, 14 Oct 2018 14:05:27 +0000 (15:05 +0100)
commit1bd87ee1c40dbae9d35ac0b5380e6dd036c60e88
tree5e7208f496e7c9e3f54a7b0c391e84726589cdca
parent1552b7d539695e9c2c86b96b220c2c9d2e150284
REST: Validate patch delegate

At present, only users who are maintainers of projects can be delegated
a project. Validate this. This is currently broken due to #216 but that
will be fixed in a future change.

Signed-off-by: Stephen Finucane <stephen@that.guru>
(cherry picked from commit b690746d3f21fac69dc6f2aadd81bdd38ace225a)
patchwork/api/patch.py
patchwork/tests/api/test_patch.py