role

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssignApiToRoleHandler

func AssignApiToRoleHandler(svcCtx *svc.ServiceContext) http.HandlerFunc

为角色分配API

func AssignConfigurationGroupToRoleHandler

func AssignConfigurationGroupToRoleHandler(svcCtx *svc.ServiceContext) http.HandlerFunc

为角色分配配置项分组权限

func AssignMenuToRoleHandler

func AssignMenuToRoleHandler(svcCtx *svc.ServiceContext) http.HandlerFunc

为角色分配菜单

func CreateOrUpdateRoleHandler

func CreateOrUpdateRoleHandler(svcCtx *svc.ServiceContext) http.HandlerFunc

创建或更新角色

func DeleteRoleHandler

func DeleteRoleHandler(svcCtx *svc.ServiceContext) http.HandlerFunc

删除角色

func GetConfigurationGroupListHandler

func GetConfigurationGroupListHandler(svcCtx *svc.ServiceContext) http.HandlerFunc

获取当前系统中的所有分组列表

func GetRoleApiHandler

func GetRoleApiHandler(svcCtx *svc.ServiceContext) http.HandlerFunc

获取角色API

func GetRoleConfigurationGroupHandler

func GetRoleConfigurationGroupHandler(svcCtx *svc.ServiceContext) http.HandlerFunc

获取角色配置项分组权限

func GetRoleMenuHandler

func GetRoleMenuHandler(svcCtx *svc.ServiceContext) http.HandlerFunc

获取角色菜单

func ListRoleHandler

func ListRoleHandler(svcCtx *svc.ServiceContext) http.HandlerFunc

获取角色列表

func ResetSuperAdminApiHandler added in v1.3.7

func ResetSuperAdminApiHandler(svcCtx *svc.ServiceContext) http.HandlerFunc

重置超级管理员API权限

Types

This section is empty.

Jump to

Keyboard shortcuts

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