permission

package
v0.0.0-...-49c8f32 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: MIT Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var E_Required = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MethodOptions)(nil),
	ExtensionType: ([]Subject)(nil),
	Field:         2507,
	Name:          "appootb.permission.method.required",
	Tag:           "varint,2507,rep,name=required,enum=appootb.permission.method.Subject",
	Filename:      "method.proto",
}
View Source
var E_Roles = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MethodOptions)(nil),
	ExtensionType: ([]string)(nil),
	Field:         4507,
	Name:          "appootb.permission.policy.roles",
	Tag:           "bytes,4507,rep,name=roles",
	Filename:      "policy.proto",
}
View Source
var E_Visible = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.ServiceOptions)(nil),
	ExtensionType: (*VisibleScope)(nil),
	Field:         1507,
	Name:          "appootb.permission.service.visible",
	Tag:           "varint,1507,opt,name=visible,enum=appootb.permission.service.VisibleScope",
	Filename:      "service.proto",
}
View Source
var Subject_name = map[int32]string{
	0:     "NONE",
	1:     "GUEST",
	8:     "WEB",
	64:    "PC",
	512:   "MOBILE",
	584:   "LOGGED_IN",
	585:   "CLIENT",
	4096:  "SERVER",
	65535: "ANY",
}
View Source
var Subject_value = map[string]int32{
	"NONE":      0,
	"GUEST":     1,
	"WEB":       8,
	"PC":        64,
	"MOBILE":    512,
	"LOGGED_IN": 584,
	"CLIENT":    585,
	"SERVER":    4096,
	"ANY":       65535,
}
View Source
var VisibleScope_name = map[int32]string{
	0:     "CLIENT",
	256:   "SERVER",
	65535: "ALL",
}
View Source
var VisibleScope_value = map[string]int32{
	"CLIENT": 0,
	"SERVER": 256,
	"ALL":    65535,
}

Functions

This section is empty.

Types

type Subject

type Subject int32

Method token subject.

const (
	Subject_NONE      Subject = 0
	Subject_GUEST     Subject = 1
	Subject_WEB       Subject = 8
	Subject_PC        Subject = 64
	Subject_MOBILE    Subject = 512
	Subject_LOGGED_IN Subject = 584
	Subject_CLIENT    Subject = 585
	Subject_SERVER    Subject = 4096
	Subject_ANY       Subject = 65535
)

func (Subject) EnumDescriptor

func (Subject) EnumDescriptor() ([]byte, []int)

func (Subject) String

func (x Subject) String() string

type VisibleScope

type VisibleScope int32

Service visible scope.

const (
	VisibleScope_CLIENT VisibleScope = 0
	VisibleScope_SERVER VisibleScope = 256
	VisibleScope_ALL    VisibleScope = 65535
)

func (VisibleScope) EnumDescriptor

func (VisibleScope) EnumDescriptor() ([]byte, []int)

func (VisibleScope) String

func (x VisibleScope) String() string

Jump to

Keyboard shortcuts

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