Skip to content

licensing: add new features and checks for repo permissions

Administrator requested to merge mv/repo-perms-packaging-enforcement into main

Created by: miveronese

Another piece of #40064 (closed)

Changes

  • Moved the current gating for repo permissions so we don’t load the authz provider if the ACLs feature ins’t enabled.
  • Added a new feature (FeatureExplicitPermissionsAPI) which is allowed for enterprise plans only
  • Added checks to the resolver so the graphql queries for the Explicit Permissions API can be run only when the FeatureExplicitPermissionsAPI is part of the license.

Test plan

New unit tests added/updated

Merge request reports

Loading