RFR: forge: add HostedRepository.restrictPushAccess
Robin Westberg
rwestberg at openjdk.java.net
Thu Mar 11 10:48:28 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
Looks good!
-------------
Marked as reviewed by rwestberg (Reviewer).
PR: https://git.openjdk.java.net/skara/pull/1048
More information about the skara-dev
mailing list