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 PermissionTypeEnum ¶
type PermissionTypeEnum = *permission.SysPermissionTree
Click to show internal directories.
Click to hide internal directories.