Skip to content

Provisioners started by user account do not show up in provisioners UI #14867

Description

@bpmct

To reproduce:

coder login <deployment-url> # as a user with `Owner`
coder provisioner start --org default

Navigate to the organization provisioners page. Nothing shows up.

IMO there are a couple reasons we may want to continue supporting a flow like this:

  1. Service account/bot starting provisioners versus keys. Can have better security versus hardcoded keys as it can be OIDC/session based
  2. Demos

Also, I documented this in #14778

Activity

  1. added
    multi-org
    on Sep 29, 2024
  2. bpmct commented on Sep 29, 2024

    @bpmct
    MemberAuthor

    @Emyrk @Kira-Pilot @stirby Can we investigate getting a patch for this in before we release on Tuesday?

  3. Emyrk commented on Sep 30, 2024

    @Emyrk
    Member

    Are these user scoped provisioners?

  4. bpmct commented on Sep 30, 2024

    @bpmct
    MemberAuthor
  5. Emyrk commented on Sep 30, 2024

    @Emyrk
    Member

    @f0ssel are these keys using a type of auth we did not consider.

  6. f0ssel commented on Sep 30, 2024

    @f0ssel
    Member

    It's using the "user-auth" hardcoded key and being omitted like expected. These can be org scoped or user scoped.

    From my slack response-

    Yes, right now it’s a hard coded auth type “user-auth” in the database anytime a user provision connects. We would need to make some changes to how we associate a provisioner with the user and that required enough changes that during storyboarding we discussed and decided to leave user auth off the provisioners page for now until we can display it in a way that makes sense to the user. Right now the best we can do is say “heres the provisioners that used user auth, but idk what users they are”.

    Since this is evidence that maybe this behavior isn't what we want, maybe we can just display the user authed provisioners grouped by a single "user-auth" key group on the frontend without any association to the user. That's easy enough to do on the backend without needing to change our data model. What do we think about that?

  7. bpmct commented on Sep 30, 2024

    @bpmct
    MemberAuthor

    Ah. I'm in favor of a single user-auth key in the frontend. That's totally fine

  8. added a commit that references this issue on Oct 1, 2024
  9. added a commit that references this issue on Oct 1, 2024
  10. bpmct commented on Jan 22, 2025

    @bpmct
    MemberAuthor
    Screen.Recording.2025-01-22.at.6.50.45.AM.mov

    I'm still observing this in dev.coder.com

  11. reopened this on Jan 22, 2025
  12. Kira-Pilot commented on Jan 22, 2025

    @Kira-Pilot
    Contributor

    @f0ssel @aslilac can one of you look into this please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug riskmulti-org

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions