sys_enum_permission

package
v0.5.32 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MatchMode = matchMode{
	Id:         enum.New[MatchModeEnum](0, "通过ID匹配校验权限"),
	Identifier: enum.New[MatchModeEnum](1, "通过标识符匹配校验权限"),
}
View Source
var PermissionType = permissionType{
	ViewDetail: base_permission.New(5948682180886598, "ViewDetail", "查看权限", "查看某个权限"),
	List:       base_permission.New(5948682180886599, "List", "权限列表", "查看所有权限"),
	Update:     base_permission.New(5948682180886600, "Update", "更新权限", "更新某个权限"),
	Delete:     base_permission.New(5948682180886601, "Delete", "删除权限", "删除某个权限"),
	Create:     base_permission.New(5948682180886602, "Create", "创建权限", "创建权限"),
}
View Source
var Permissions = permissions{
	PermissionType: PermissionType,
	MatchMode:      MatchMode,
}

Functions

This section is empty.

Types

type MatchModeEnum

type MatchModeEnum enum.IEnumCode[int]

type PermissionTypeEnum

type PermissionTypeEnum = base_permission.IPermission

Jump to

Keyboard shortcuts

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