permissions

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2025 License: MIT Imports: 4 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"
	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