authorization

package
v0.0.0-...-10a600b Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorizationRole

type AuthorizationRole struct {
	RoleID    gocql.UUID `json:"role_id"`
	ParentId  gocql.UUID `json:"parent_id"`
	TreeLevel int        `json:"tree_level"`
	SortOrder int        `json:"sort_order"`
	RoleType  string     `json:"role_type"`
	UserID    gocql.UUID `json:"user_id"`
	UserType  string     `json:"user_type"`
	RoleName  string     `json:"role_name"`
}

type AuthorizationRule

type AuthorizationRule struct {
	RuleID     gocql.UUID `json:"rule_id"`
	RoleID     gocql.UUID `json:"role_id"`
	ResourceID string     `json:"resource_id"`
	Privileges string     `json:"privileges"`
	Permission string     `json:"permission"`
}

Jump to

Keyboard shortcuts

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