rbac

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: AGPL-3.0 Imports: 1 Imported by: 31

Documentation

Overview

role based access control

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Role

type Role int
const (
	NONE Role = iota
	USER
	SUPERUSER
	ADMIN
	INTERNAL
)

func (Role) MarshalJSON added in v1.0.1

func (r Role) MarshalJSON() ([]byte, error)

func (Role) String

func (role Role) String() string

func (*Role) UnmarshalJSON added in v1.0.1

func (r *Role) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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