sys_enum_permission

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: MIT Imports: 3 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: permission.New(5948682180886598, "ViewDetail", "查看权限", "查看某个权限"),
	List:       permission.New(5948682180886599, "List", "权限列表", "查看所有权限"),
	Update:     permission.New(5948682180886600, "Update", "更新权限", "更新某个权限"),
	Delete:     permission.New(5948682180886601, "Delete", "删除权限", "删除某个权限"),
	Create:     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