permission

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: Apache-2.0, MIT Imports: 5 Imported by: 7

Documentation

Index

Constants

View Source
const (
	PermRead  permission = "read" // default
	PermWrite permission = "write"
	PermSign  permission = "sign"  // Use wallet keys for signing
	PermAdmin permission = "admin" // Manage permissions

)

Variables

View Source
var (
	AllPermissions = []auth.Permission{PermRead, PermWrite, PermSign, PermAdmin}
	DefaultPerms   = []auth.Permission{PermRead}
)

Functions

func PermissionProxy

func PermissionProxy(in interface{}, out interface{})

PermissionProxy the scheduler between API and internal business nolint

Types

This section is empty.

Jump to

Keyboard shortcuts

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