Skip to content

Generate new projects from the dev-portal #274

Open

Description

@DiamondJoseph

It has been documented in the dev-portal and in the docs for this project that being able to create a new project from the dev-portal will eventually be possible. This could be a method of providing access for publishing new projects under the Organisation namespace (#273) if the integration with the developer portal includes an access token with appropriate (but restricted) permissions.

Activity

  1. coretl commented on Jun 23, 2025

    @coretl
    Contributor

    @M-Chan can you remember whether the dev portal template expansion uses dev-portal's token, or acts on behalf of the user. I recall it's the latter, as I'm prompted to login a second time with GitHub when I first make a new repo after having already been logged into the dev portal

  2. DiamondJoseph commented on Jun 24, 2025

    @DiamondJoseph
    ContributorAuthor

    For reference, the output of running this currently:

    Image

  3. GDYendell commented on Jun 24, 2025

    @GDYendell
    Contributor

    Currently everyone logs in as guest, so I don't think it can be on behalf of the user. I note that this custom extension is broken in the latest backstage (for a different reason to this), so it will need some work to make it functional (again?) anyway.

  4. M-Chan commented on Jun 24, 2025

    @M-Chan
    Contributor

    @M-Chan can you remember whether the dev portal template expansion uses dev-portal's token, or acts on behalf of the user. I recall it's the latter, as I'm prompted to login a second time with GitHub when I first make a new repo after having already been logged into the dev portal

    It is the latter. You need to authorise it to access your GitHub

  5. GDYendell commented on Jun 25, 2025

    @GDYendell
    Contributor

    Ahh, I see it does ask for a GitHub login during the process. So, this will now only work for GitHub owner because others aren't allowed to create repos?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions