Skip to content

PoC: Group-Level Protected Environments

Shinya Maeda requested to merge poc-group-level-protected-environments into master

What does this MR do?

related #215888 (closed)

protected_environments ( -- environment_protection_rules
  id integer NOT NULL,
  project_id integer,
  group_id integer,
  name character varying
  tier smallint

environemnts (
  name,
  tier,
  url,
  protected_by_id: (FK to protected_environments)
)

protected_environments_envionments (
  environment_id: (FK),
  protected_environment_id: (FK),
)

ci_build_environment_metadata (
  build_id: (FK to ci_builds)
  environment_id: (FK to environments)
  action: start/stop/prepare
)

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Shinya Maeda

Merge request reports