]> git.ipfire.org Git - thirdparty/patchwork.git/commit
REST: Don't allow settings of some project fields
authorStephen Finucane <stephen@that.guru>
Sat, 13 Oct 2018 16:10:49 +0000 (17:10 +0100)
committerStephen Finucane <stephen@that.guru>
Sun, 14 Oct 2018 14:05:27 +0000 (15:05 +0100)
commit1552b7d539695e9c2c86b96b220c2c9d2e150284
tree4cad9d72b7c0ff1b8d5d5f47226c83e3070af705
parent7a69a77dcced02e5f9de3f563f9545fc9297c204
REST: Don't allow settings of some project fields

These should only be configurable by superusers as invalid configuration
can break things.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Closes: #217
(cherry picked from commit 530999bf7c286bd3990e63790958338ef65a25a8)
patchwork/api/project.py
patchwork/tests/api/test_project.py
releasenotes/notes/issue-217-676f3f737e46320e.yaml [new file with mode: 0644]