Skip to content

authz: factor out actorSubRepoEnabled

Administrator requested to merge k/fast-path into main

Created by: keegancsmith

This bit of logic seems to always gate if we do checks for an actor, mainly via most functions calling ActorPermissions. It is currently copy pasted in two functions, but I intend on needing these checks in more places by avoiding always going via ActorPermissions.

Test Plan: go test

Merge request reports

Loading