acl

package
v1.0.0-beta.62 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceRoleName = "service_role"

Variables

View Source
var Logger hclog.Logger = logger.HcLog().Named("acl")

Functions

func Authenticated added in v1.0.0

func Authenticated(ctx raiden.Context) error

func GetAuthenticatedData added in v1.0.0

func GetAuthenticatedData(ctx raiden.Context, serviceOnly bool) (*jwt.JWTClaims, error)

func GetAvailableRole

func GetAvailableRole() (roles []objects.Role, err error)

func GetPolicy added in v1.0.0

func GetPolicy(role []string) (objects.Policies, error)

func GetRole added in v1.0.0

func GetRole(name string) (raiden.Role, error)

GetRole

func GetRoles added in v1.0.0

func GetRoles() ([]raiden.Role, error)

func SetUserRole

func SetUserRole(cfg *raiden.Config, userId string, role raiden.Role) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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