Add new filtering options for lists of review groups in the API.

Review Request #13121 — Created June 22, 2023 and submitted — Latest diff uploaded

Information

Review Board
release-5.0.x

Reviewers

The review groups resource now accepts two new arguments:

  1. ?show-invisible=1, which will include any review groups not marked
    as visible.

  2. ?invite-only=<bool>, which will filter the review groups based on
    the invite_only flag.

This doesn't allow for overriding any accessibility checks. Results will
still only include those the user has access to.

Unit tests pass.

Made use of this with some upcoming changes for repository configuration.

Diff Revision 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

orig
1
2

Commits

First Last Summary ID Author
Add new filtering options for lists of review groups in the API.
The review groups resource now accepts two new arguments: 1. `?show-invisible=1`, which will include any review groups not marked as visible. 2. `?invite-only=<bool>`, which will filter the review groups based on the `invite_only` flag. This doesn't allow for overriding any accessibility checks. Results will still only include those the user has access to.
d1cf4f06e1108a4c6a75e07e911f12a04594fdb4 Christian Hammond
reviewboard/webapi/resources/review_group.py
reviewboard/webapi/tests/test_review_group.py
Loading...