organization

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PermissionType = permissionType{
	ViewDetail:    base_permission.New(5948684761759813, "ViewDetail", "查看角色", "查看某个角色"),
	ViewMember:    base_permission.New(5948684761759823, "ViewMember", "查看角色成员", "查看某个角色下的用户"),
	List:          base_permission.New(5948684761759814, "List", "角色列表", "查看所有角色"),
	Update:        base_permission.New(5948684761759815, "Update", "更新角色信息", "更新某个角色信息"),
	Delete:        base_permission.New(5948684761759816, "Delete", "删除角色", "删除某个角色"),
	Create:        base_permission.New(5948684761759817, "Create", "创建角色", "创建一个新角色"),
	SetMember:     base_permission.New(5950451522795973, "SetMember", "设置角色成员", "增加或移除角色成员"),
	SetPermission: base_permission.New(5950452043151813, "SetPermission", "设置角色权限", "设置某个角色的权限"),
}
View Source
var Role = role{
	PermissionType: PermissionType,
}

Functions

This section is empty.

Types

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