Skip to content

Explain what spaces can see when you share a Platform Hub template - #3584

Merged
evolutionise merged 10 commits into
mainfrom
sd/alix/platform-hub-shared-template-visibility
Nov 27, 2026
Merged

evolutionise merged 10 commits into
mainfrom
sd/alix/platform-hub-shared-template-visibility

Conversation

@evolutionise

Copy link
Copy Markdown
Contributor

Background

Sharing a Platform Hub template with a space makes the Platform Hub resources the template uses available in that space. In some cases any project in that space can use those resources. A project does not need to be created from the template. The docs don't tell Platform Hub admins about this before they share a template.

Results

Adds a "What spaces can see" section to the sharing docs. The section tells admins to treat any resource a shared template uses as visible to every space the template is shared with. The section also lists two steps to take before sharing. The Platform Hub overview links to the new section.

The section describes the behaviour in general terms on purpose. General guidance stays accurate as the product changes.

How to review this PR

  • Is the section accurate for every resource type listed?
  • Is the guidance clear enough for a Platform Hub admin to act on?

🤖 Generated with Claude Code

@team-marketing-branch-protections

Copy link
Copy Markdown

Pull request environment is available at https://stoctodocspr3584.z22.web.core.windows.net/.

You can view the ephemeral environment status in Octopus Deploy.

This environment will be automatically deprovisioned when the pull request is closed, or after 7 days of inactivity.

denys-octopus
denys-octopus previously approved these changes Nov 26, 2026

@denys-octopus denys-octopus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍


In some cases, any project in a space you share the template with can use these resources, such as in deployments, runbooks, and Git triggers. This applies to every project in the space, not just projects created from the template.

Before you share a template:

@evolutionise evolutionise Nov 26, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty inclined to leave these suggestions out; they feel a bit patronising and don't really add value - obviously this is what you'd do if you care about the warning above. Let me know what you think.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy to leave these in actually

I see where you're coming from with them sounding a bit patronising, but I can also see explicit suggestions / instructions being helpful for when someone uses an AI Agent to read through the documentation.

@shaun-od shaun-od left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Coopdogg24 Coopdogg24 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good from a security perspective too


A template uses a Platform Hub resource, such as an account, certificate, feed, Git credential, or GitHub App Connection, when one of its variables, parameters, or steps refers to it. The same applies to the template's own variables and parameters.

In some cases, any project in a space you share the template with can use these resources, such as in deployments, runbooks, and Git triggers. This applies to every project in the space, not just projects created from the template.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What cases is this where any project can reference them and not just projects using the templates? Are you referring to a regular project that's consuming a Process Template?

If that's the case, I'd suggest:

Suggested change
In some cases, any project in a space you share the template with can use these resources, such as in deployments, runbooks, and Git triggers. This applies to every project in the space, not just projects created from the template.
Any project that uses either a Project Template or a Process Template will be able to access the references resources within the template. Sharing to a space allows any project to use these templates.

Feel free to riff on that, I don't think it's quite perfect yet.

evolutionise and others added 2 commits November 27, 2026 12:43
Co-authored-by: Corey Underdown <corey.underdown@octopus.com>
@evolutionise
evolutionise merged commit 5a4e2e6 into main Nov 27, 2026
7 checks passed
@evolutionise
evolutionise deleted the sd/alix/platform-hub-shared-template-visibility branch November 27, 2026 01:57
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.

6 participants