Integrated: forge: add HostedRepository.restrictPushAccess

Erik Helin 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`.
> 
> Thanks,
> Erik

This pull request has now been integrated.

Changeset: fd80e0a6
Author:    Erik Helin <ehelin at openjdk.org>
URL:       https://git.openjdk.java.net/skara/commit/fd80e0a6
Stats:     29 lines in 5 files changed: 29 ins; 0 del; 0 mod

forge: add HostedRepository.restrictPushAccess

Reviewed-by: rwestberg

-------------

PR: https://git.openjdk.java.net/skara/pull/1048


More information about the skara-dev mailing list