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.

Changes between revision 1 and 2

orig
1
2

Commits

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
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.
ae66dd2f14243bc96aa558cf225371f3310c9554 Christian Hammond
reviewboard/webapi/tests/test_review_group.py
Loading...