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

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

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.

Summary ID
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
Description From Last Updated

'django.contrib.auth.models.User' imported but unused Column: 1 Error code: F401

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

chipx86
maubin
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-5.0.x (a000782)
Loading...