shared

package
v1.135.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package shared provides shared helpers for the perms command tree.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GrantPrinter

GrantPrinter returns a Printer configured for PermissionGrant display.

func SubjectFromFlags

func SubjectFromFlags(userSlug, groupName string) (backend.PermissionSubject, error)

SubjectFromFlags constructs a PermissionSubject from the --user / --group flag values. Exactly one of userSlug and groupName must be non-empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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