//
pkg.gl
Category
github.com/ubuntu/adsys
internal
authorizer
package
0.14.2
Repository:
https://github.com/ubuntu/adsys.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
18
Dependents
2
Files
266 SLOC
#
Functions
New
New returns a new authorizer.
WithUnixPeerCreds
WithUnixPeerCreds returns the credentials of the caller.
#
Variables
ActionAlwaysAllowed
ActionAlwaysAllowed is a no-op bypassing any user or dbus checks.
OnUserKey
OnUserKey is the authorizer context key passing optional user name.
#
Structs
Action
Action is an polkit action.
Authorizer
Authorizer is an abstraction of polkit authorization.