Skip to content

feat: add mark to users#1844

Merged
bo0tzz merged 1 commit into
mainfrom
feat/user-add-mark
Jul 23, 2026
Merged

feat: add mark to users#1844
bo0tzz merged 1 commit into
mainfrom
feat/user-add-mark

Conversation

@zackpollard

Copy link
Copy Markdown
Member

No description provided.

@zackpollard
zackpollard requested a review from a team as a code owner July 23, 2026 11:15
@bo0tzz
bo0tzz enabled auto-merge (squash) July 23, 2026 11:18
@github-actions

Copy link
Copy Markdown

Terraform Plan

Shared

1password/account — No changes
1password/futo-account — No changes
bunny/futo-account — No changes
cloudflare/account — No changes
cloudflare/api-keys — No changes
cloudflare/futo-account — No changes
cloudflare/futo-api-keys — No changes
docker/org — No changes
⚠️ github/org — Plan: 0 to add, 4 to change, 0 to destroy.
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place (current -> planned)
  # github_repository_collaborators.repo_collaborators["immich"] will be updated in-place
  ~ resource "github_repository_collaborators" "repo_collaborators" {
        id             = "455229168"
      ~ invitation_ids = {
          - "koen-futo"  = "286515056"
          - "martabal"   = "284848949"
          - "martyfuhry" = "284848968"
          - "matthinc"   = "284848954"
          - "sudoicezen" = "284848972"
        } -> (known after apply)
        # (2 unchanged attributes hidden)
      - user {
          - permission = "admin" -> null
          - username   = "alextran1502" -> null
        }
      - user {
          - permission = "admin" -> null
          - username   = "bo0tzz" -> null
        }
      - user {
          - permission = "admin" -> null
          - username   = "jrasm91" -> null
        }
      - user {
          - permission = "admin" -> null
          - username   = "zackpollard" -> null
        }
      + user {
          + permission = "maintain"
          + username   = "alextran1502"
        }
      + user {
          + permission = "maintain"
          + username   = "bo0tzz"
        }
      + user {
          + permission = "maintain"
          + username   = "jrasm91"
        }
      + user {
          + permission = "maintain"
          + username   = "zackpollard"
        }
        # (59 unchanged blocks hidden)
    }
  # github_repository_collaborators.repo_collaborators["static-pages"] will be updated in-place
  ~ resource "github_repository_collaborators" "repo_collaborators" {
        id             = "822727374"
      ~ invitation_ids = {
          - "PixelJonas" = "284848947"
          - "fyfrey"     = "284848959"
          - "kennyfuto"  = "288622006"
          - "koen-futo"  = "286515046"
          - "martabal"   = "284848951"
          - "martyfuhry" = "284848969"
          - "matthinc"   = "284848955"
          - "orhan98"    = "315880176"
          - "sudoicezen" = "284848974"
        } -> (known after apply)
        # (2 unchanged attributes hidden)
      - user {
          - permission = "admin" -> null
          - username   = "alextran1502" -> null
        }
      - user {
          - permission = "admin" -> null
          - username   = "bo0tzz" -> null
        }
      - user {
          - permission = "admin" -> null
          - username   = "jrasm91" -> null
        }
      - user {
          - permission = "admin" -> null
          - username   = "zackpollard" -> null
        }
      + user {
          + permission = "maintain"
          + username   = "alextran1502"
        }
      + user {
          + permission = "maintain"
          + username   = "bo0tzz"
        }
      + user {
          + permission = "maintain"
          + username   = "jrasm91"
        }
      + user {
          + permission = "maintain"
          + username   = "zackpollard"
        }
        # (58 unchanged blocks hidden)
    }
  # github_repository_collaborators.repo_collaborators["test-assets"] will be updated in-place
  ~ resource "github_repository_collaborators" "repo_collaborators" {
        id             = "697157116"
      ~ invitation_ids = {
          - "PixelJonas" = "284848946"
          - "fyfrey"     = "284848960"
          - "kennyfuto"  = "288622000"
          - "koen-futo"  = "286515048"
          - "martabal"   = "284848952"
          - "martyfuhry" = "284848970"
          - "matthinc"   = "284848956"
          - "orhan98"    = "315880175"
          - "staticdog"  = "320859393"
          - "sudoicezen" = "284848973"
        } -> (known after apply)
        # (2 unchanged attributes hidden)
      - user {
          - permission = "admin" -> null
          - username   = "alextran1502" -> null
        }
      - user {
          - permission = "admin" -> null
          - username   = "bo0tzz" -> null
        }
      - user {
          - permission = "admin" -> null
          - username   = "jrasm91" -> null
        }
      - user {
          - permission = "admin" -> null
          - username   = "zackpollard" -> null
        }
      + user {
          + permission = "maintain"
          + username   = "alextran1502"
        }
      + user {
          + permission = "maintain"
          + username   = "bo0tzz"
        }
      + user {
          + permission = "maintain"
          + username   = "jrasm91"
        }
      + user {
          + permission = "maintain"
          + username   = "zackpollard"
        }
        # (58 unchanged blocks hidden)
    }
  # github_repository_collaborators.repo_collaborators["walkrs"] will be updated in-place
  ~ resource "github_repository_collaborators" "repo_collaborators" {
        id             = "1156754889"
      ~ invitation_ids = {
          - "C-Otto"          = "307331486"
          - "PixelJonas"      = "307331438"
          - "adamantike"      = "307331464"
          - "dahool"          = "307331471"
          - "ddshd"           = "307331444"
          - "fyfrey"          = "307331463"
          - "github-cli"      = "307331445"
          - "jbaez"           = "307331428"
          - "kennyfuto"       = "307331447"
          - "koen-futo"       = "307331458"
          - "martabal"        = "307331390"
          - "martyfuhry"      = "307331483"
          - "matthinc"        = "307331420"
          - "michelheusschen" = "307331480"
          - "midzelis"        = "309034718"
          - "orhan98"         = "315880173"
          - "samholton"       = "307331386"
          - "schuhbacca"      = "307331432"
          - "skatsubo"        = "307331414"
          - "staticdog"       = "320859390"
        } -> (known after apply)
        # (2 unchanged attributes hidden)
      - user {
          - permission = "admin" -> null
          - username   = "alextran1502" -> null
        }
      - user {
          - permission = "admin" -> null
          - username   = "bo0tzz" -> null
        }
      - user {
          - permission = "admin" -> null
          - username   = "jrasm91" -> null
        }
      - user {
          - permission = "admin" -> null
          - username   = "zackpollard" -> null
        }
      + user {
          + permission = "maintain"
          + username   = "alextran1502"
        }
      + user {
          + permission = "maintain"
          + username   = "bo0tzz"
        }
      + user {
          + permission = "maintain"
          + username   = "jrasm91"
        }
      + user {
          + permission = "maintain"
          + username   = "zackpollard"
        }
        # (58 unchanged blocks hidden)
    }
Plan: 0 to add, 4 to change, 0 to destroy.
╷
│ Warning: Argument is deprecated
│ 
│   with github_repository.repositories["immich-charts"],
│   on repositories.tf line 173, in resource "github_repository" "repositories":173:   vulnerability_alerts      = !each.value.archived
│ 
│ Use the github_repository_vulnerability_alerts resource instead. This field
│ will be removed in a future version.
│ 
│ (and 24 more similar warnings elsewhere)
╵
─────────────────────────────────────────────────────────────────────────────
Note: You didn't use the -out option to save this plan, so OpenTofu can't
guarantee to take exactly these actions if you run "tofu apply" now.
github/secrets — No changes
github/webhooks — No changes
netbird/account — No changes
⚠️ zitadel/cloud — Plan: 8 to add, 0 to change, 0 to destroy.
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create
  # random_password.zitadel_user_initial_password["gitlab-155"] will be created
  + resource "random_password" "zitadel_user_initial_password" {
      + bcrypt_hash = (sensitive value)
      + id          = (known after apply)
      + length      = 64
      + lower       = true
      + min_lower   = 0
      + min_numeric = 0
      + min_special = 0
      + min_upper   = 0
      + number      = true
      + numeric     = true
      + result      = (sensitive value)
      + special     = true
      + upper       = true
    }
  # terraform_data.idp_link["gitlab-155/gitlab"] will be created
  + resource "terraform_data" "idp_link" {
      + id               = (known after apply)
      + input            = {
          + domain           = "auth.internal.futo.org"
          + external_user_id = "155"
          + idp_id           = "366545809833012958"
          + token            = (sensitive value)
          + user_id          = (known after apply)
          + user_name        = "mark"
        }
      + output           = (known after apply)
      + triggers_replace = [
          + (known after apply),
          + "366545809833012958",
          + "155",
          + "mark",
        ]
    }
  # zitadel_human_user.users["gitlab-155"] will be created
  + resource "zitadel_human_user" "users" {
      + display_name                 = "mark last_name"
      + email                        = "mark@gitlab.futo.org"
      + first_name                   = "mark"
      + gender                       = "GENDER_UNSPECIFIED"
      + id                           = (known after apply)
      + initial_password             = (sensitive value)
      + initial_skip_password_change = true
      + is_email_verified            = true
      + is_phone_verified            = false
      + last_name                    = "last_name"
      + login_names                  = (known after apply)
      + org_id                       = "364798781738212816"
      + preferred_language           = "und"
      + preferred_login_name         = (known after apply)
      + state                        = (known after apply)
      + user_id                      = (known after apply)
      + user_name                    = "mark"
    }
  # zitadel_user_grant.project_grants["Grafana Monitoring Prod_gitlab-155"] will be created
  + resource "zitadel_user_grant" "project_grants" {
      + id         = (known after apply)
      + org_id     = "364798781738212816"
      + project_id = "364798782291860944"
      + role_keys  = [
          + "Viewer",
        ]
      + user_id    = (known after apply)
    }
  # zitadel_user_grant.project_grants["Mattermost_gitlab-155"] will be created
  + resource "zitadel_user_grant" "project_grants" {
      + id         = (known after apply)
      + org_id     = "364798781738212816"
      + project_id = "381073235292252034"
      + role_keys  = [
          + "Granted",
        ]
      + user_id    = (known after apply)
    }
  # zitadel_user_grant.project_grants["NetBird_gitlab-155"] will be created
  + resource "zitadel_user_grant" "project_grants" {
      + id         = (known after apply)
      + org_id     = "364798781738212816"
      + project_id = "379001735487726205"
      + role_keys  = [
          + "Granted",
        ]
      + user_id    = (known after apply)
    }
  # zitadel_user_grant.project_grants["Outline_gitlab-155"] will be created
  + resource "zitadel_user_grant" "project_grants" {
      + id         = (known after apply)
      + org_id     = "364798781738212816"
      + project_id = "364798782275411408"
      + role_keys  = [
          + "FUTO",
        ]
      + user_id    = (known after apply)
    }
  # zitadel_user_metadata.role["gitlab-155"] will be created
  + resource "zitadel_user_metadata" "role" {
      + id      = (known after apply)
      + key     = "role"
      + org_id  = "364798781738212816"
      + user_id = (known after apply)
      + value   = jsonencode(
            [
              + "futo",
            ]
        )
    }
Plan: 8 to add, 0 to change, 0 to destroy.
─────────────────────────────────────────────────────────────────────────────
Note: You didn't use the -out option to save this plan, so OpenTofu can't
guarantee to take exactly these actions if you run "tofu apply" now.
zitadel/self-hosted — No changes

Scoped (dev)

discord/community — No changes
monitoring/grafana — No changes
zitadel/customer — No changes

Scoped (prod)

discord/community — No changes
discord/futo — No changes
monitoring/grafana — No changes
⚠️ zitadel/customer — Plan: 0 to add, 1 to change, 0 to destroy.
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place (current -> planned)
  # cloudflare_dns_record.customer_auth[0] will be updated in-place
  ~ resource "cloudflare_dns_record" "customer_auth" {
      ~ content     = (sensitive value)
        id          = "b8891ec64061d267a95974afe642413d"
      ~ modified_on = "2026-07-01T21:41:39Z" -> (known after apply)
        name        = "auth.futo.cloud"
        tags        = []
        # (8 unchanged attributes hidden)
    }
Plan: 0 to add, 1 to change, 0 to destroy.
─────────────────────────────────────────────────────────────────────────────
Note: You didn't use the -out option to save this plan, so OpenTofu can't
guarantee to take exactly these actions if you run "tofu apply" now.

Scoped (staging — zitadel customer)

customer — No changes

@bo0tzz
bo0tzz merged commit f85ab7a into main Jul 23, 2026
26 checks passed
@bo0tzz
bo0tzz deleted the feat/user-add-mark branch July 23, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants