package
0.5.10
Repository: https://github.com/ubuntu/zsys.git
Documentation: pkg.go.dev

# Functions

New returns a new authorizer.
WithUnixPeerCreds returns the credentials of the caller.

# Constants

ActionAlwaysAllowed is a no-op bypassing any user or dbus checks.
ActionManageService is the action to perform read operations.
ActionSystemList is the action to perform system list operations.
ActionSystemWrite is the action to perform system write operations.
ActionUserWrite is the action which will be transformed to Self or Others depending on the request and requester.

# Variables

OnUserKey is the authorizer context key passing optional user name.

# Structs

Authorizer is an abstraction of polkit authorization.

# Type aliases

Action is an polkit action.