Allow enabling policy enforcement at the workflow contract level

オープン
#3,762 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@migmartri がすでに取り組んでいます。

2026年10月31日 から。

  • #3761 @migmartri による — マージされずにクローズ

評価

この issue はまだ評価されていません。

説明

component/backend new-policy spec

Today policy enforcement (control gates) can be configured in two places:

  • The organization default (chainloop org update --block), which applies to all contracts in the organization.
  • Each policy or policy group attachment in a contract, with the gate field.

There is no way to enforce all the policies of one contract without setting gate: true on each attachment, or enforcing the whole organization.

This issue proposes a contract-level setting (spec.policies.gate) that enforces all the policies of a contract. Enforcement should only tighten: a lower level (contract, group, or policy attachment) can turn enforcement on, but cannot turn off enforcement that a higher level set. This changes the current documented behavior, where gate: false on an attachment opts out of organization-wide enforcement.

A design spec will follow in docs/specs/.

主要言語
Go
スター
582
フォーク
61
平均マージ
12時間 47分
マージ済み PR(30日)
137

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

chainloop-dev/chainloop のほかの issue

chainloop-dev/chainloop の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。