Integrated: forge: add HostedRepository.restrictPushAccess

Erik Helin ehelin at
Thu Mar 11 11:00:21 UTC 2021

On Thu, 11 Mar 2021 10:44:18 GMT, Erik Helin <ehelin at> 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>
Stats:     29 lines in 5 files changed: 29 ins; 0 del; 0 mod

forge: add HostedRepository.restrictPushAccess

Reviewed-by: rwestberg



More information about the skara-dev mailing list