policy

package
v0.34.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package policy implements `hadron policy ...` — the standing action-policy chain (cor:acl:040:02, hadron-server #510; CLI #1343). A run may perform an action only if every layer of the chain allows it: org, the user it runs on behalf of, and the App. The server owns every rule; this group explains the chain and authors the caller's own user layer. The org layer is set with `org update --policy`; the App layer only at createApp (cli#63 tracks it).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdPolicy

func NewCmdPolicy(f *cmdutil.Factory) *cobra.Command

NewCmdPolicy builds the `policy` command group.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL