Skip to main content
Version: Next · development

Security and ownership

This page explains how Golf decides who can do what: how it identifies callers, where credentials live, how execution and previews are isolated, and which protections are still open acceptance gates. Read it before granting access, approving workflows or publishing content.

Identity, current repository permission and approved secret release

Editable Mermaid source · All architecture diagrams.

Trust boundaries​

QuestionWhat decides it
Who is calling?Native Access authentication or a portable Golf session.
What may they do?Repository ownership, grants, scopes, exact source, sponsorship and policy.
Where do provider credentials live?Inside the trusted broker.
Where do keys and stored credentials live?Native: Secrets Store holds authority and encryption keys. Portable: credentials use the authenticated Golf keyring.

An instance administrator role is not a repository permission override. Browser state contains neither provider tokens nor native Golf bearer credentials.

Execution and previews​

Approved images, isolated workspaces, bounded job leases and explicit networking constrain execution. Independent Artifacts forks hold proposals. Container results and R2 reports retain exact source identity.

note

A passed report does not supply merge or production authority.

To enter a preview, a caller needs Access plus current Golf reader permission and a live grant. Managed app D1/R2 and signing material are private per preview, and alternate routes cannot bypass protection. Repository preview policy applies at publication and renewal; incomplete live-policy revocation is tracked separately.

Secrets​

Exact-commit native workflow approval releases values only to the supported PR profile. Inventories hide secrets. Retained logs mask exact text only, not transformations.

Rotation, broad environment scopes and arbitrary approved egress remain open. See hosted execution.

Protected-write qualification​

The current native same-repository ancestor merge is a bounded standard merge, not full trusted protected publication.

Open acceptance gates

Complete review eligibility, immutable candidate checks, protected merge enforcement and broad production CD remain acceptance gates.

Forgejo roles and recovery​

Historical provider qualification does not automatically qualify Forgejo roles or recovery. Retained migration uses fresh targets and supported APIs; a private pending review was lost in rehearsal.

The documented privileged offline recovery exception requires drained writers and a fresh, stopped, quarantined target. It permits no forge database or repository-file writes during normal operation. See recovery.

Public content​

Public mode requires explicit repository or profile publication. Private collaboration, tests and previews remain authorized.

Rate limiting

Rate limiting is approximate per network/location and fails open on limiter errors. It is not a global quota or a complete abuse-control system.