]> 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:01:34 +0000 (15:01 +0100)
commitb690746d3f21fac69dc6f2aadd81bdd38ace225a
tree8d1b06f16795cbf5c1efd2ed58acb510152992fb
parent530999bf7c286bd3990e63790958338ef65a25a8
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>
patchwork/api/patch.py
patchwork/tests/api/test_patch.py