Help us shape the future of Go! Take the 2026 Go Developer Survey

permissions

package
v0.9.16 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EntityWallet            = "wallet"
	EntityWalletInitializer = "walletinitializer"
	EntityManager           = "manager"
	EntityWithdraw          = "withdraw"
	EntityNote              = "note"
	EntityArk               = "ark"
	EntityIndexer           = "indexer"
	EntityHealth            = "health"
	EntityChannelz          = "channelz"
	EntityAuthManager       = "authmanager"
)

Variables

This section is empty.

Functions

func AdminPermissions

func AdminPermissions() []bakery.Op

func AllPermissionsByMethod

func AllPermissionsByMethod() map[string][]bakery.Op

AllPermissionsByMethod returns a mapping of the RPC server calls to the permissions they require.

func OperatorPermissions added in v0.8.0

func OperatorPermissions() []bakery.Op

func ReadOnlyPermissions

func ReadOnlyPermissions() []bakery.Op

func SuperUserPermissions added in v0.8.0

func SuperUserPermissions() []bakery.Op

func UnlockerPermissions added in v0.8.0

func UnlockerPermissions() []bakery.Op

func Whitelist

func Whitelist() map[string][]bakery.Op

Whitelist returns the list of all whitelisted methods with the relative entity and action.

Types

This section is empty.

Jump to

Keyboard shortcuts

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