Add new API endpoints for managing repository ACLs.

Review Request #12489 — Created July 27, 2022 and submitted — Latest diff uploaded

Information

Review Board
release-4.0.x

Reviewers

One thing we've had requests for over the years is a way to manage
repository ACLs via scripts or other automation. This change adds two
new API endpoints for these. These are both children of the repository
resource, and work similarly to the existing group member resource.

  • Ran unit tests.
  • Made a variety of API requests to manage repository ACLs.

Diff Revision 3

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

orig
1
2
3
4
5
6

Commits

First Last Summary ID Author
Add new API endpoints for managing repository ACLs.
One thing we've had requests for over the years is a way to manage repository ACLs via scripts or other automation. This change adds two new API endpoints for these. These are both children of the repository resource, and work similarly to the existing group member resource. Testing Done: - Ran unit tests. - Made a variety of API requests to manage repository ACLs.
2089ec16a34ad2a58294339173428e554269c36e David Trowbridge
reviewboard/webapi/errors.py
reviewboard/webapi/resources/repository.py
reviewboard/webapi/resources/repository_group.py
reviewboard/webapi/resources/repository_user.py
reviewboard/webapi/tests/mimetypes.py
reviewboard/webapi/tests/test_repository_group.py
reviewboard/webapi/tests/test_repository_user.py
reviewboard/webapi/tests/urls.py
Loading...