Integrated: forge: add HostedRepository.restrictPushAccess
ehelin at openjdk.java.net
Thu Mar 11 11:00:21 UTC 2021
On Thu, 11 Mar 2021 10:44:18 GMT, Erik Helin <ehelin at openjdk.org> wrote:
> Hi all,
> please review this small patch that adds the method `HostedRepository.restrictPushAccess`. As the name implies the method can be used to restrict the user on a forge that can push to a specific branch in a hosted repository. Unfortunately this is hard to implement in `TestHostedRepository` (even if we would use hooks), so I opted to just do nothing in `TestHostedRepository`.
This pull request has now been integrated.
Author: Erik Helin <ehelin at openjdk.org>
Stats: 29 lines in 5 files changed: 29 ins; 0 del; 0 mod
forge: add HostedRepository.restrictPushAccess
More information about the skara-dev