Let users with submit_as permission list non-public review requests.
Review Request #7196 — Created April 11, 2015 and submitted — Latest diff uploaded
Until now,
rbt post
with the submit-as option could not update unpublished review requests. I've proposed that users with thecan_submit_as_another_user
permission are allowed to list unpublished review requests, so thatrbt post
knows about these and can update them. Previously only superusers could list unpublished review requests.
- Expanded unit test to test that
can_submit_as_another_user
gives user access to unpublished review requests - Tested with
rbt post -u --submit-as=submitter
to update unpublished review request (see also #7195)
Diff Revision 3
This is not the most recent revision of the diff. The latest diff is revision 5. See what's changed.
orig
1
2
3
4
5
reviewboard/webapi/resources/review_request.py |
---|
reviewboard/webapi/tests/test_review_request.py |
---|