Versions in this module Expand all Collapse all v0 v0.1.2 Nov 16, 2023 v0.1.1 Jun 26, 2023 Changes in this version + var ProviderSet = wire.NewSet(NewAuthorizationService) + type AuthorizationService struct + func NewAuthorizationService(menuUsecase *biz.MenuUsecase, casbinUsecase *biz.CasbinUsecase, ...) *AuthorizationService + func (s *AuthorizationService) CheckAuthorization(ctx context.Context, req *v1.CheckAuthorizationReq) (*v1.CheckResponse, error) + func (s *AuthorizationService) CreateApi(ctx context.Context, req *v1.CreateApiReq) (*v1.Api, error) + func (s *AuthorizationService) CreateMenu(ctx context.Context, req *v1.CreateMenuReq) (*v1.Menu, error) + func (s *AuthorizationService) CreateRole(ctx context.Context, req *v1.CreateRoleReq) (*v1.Role, error) + func (s *AuthorizationService) DeleteApi(ctx context.Context, req *v1.DeleteApiReq) (*v1.CheckResponse, error) + func (s *AuthorizationService) DeleteMenu(ctx context.Context, req *v1.IdReq) (*v1.CheckResponse, error) + func (s *AuthorizationService) DeleteRole(ctx context.Context, req *v1.DeleteRoleReq) (*v1.CheckResponse, error) + func (s *AuthorizationService) DeleteRoleForUser(ctx context.Context, req *v1.DeleteRoleForUserReq) (*v1.CheckResponse, error) + func (s *AuthorizationService) DeleteRolesForUser(ctx context.Context, req *v1.DeleteRolesForUserReq) (*v1.CheckResponse, error) + func (s *AuthorizationService) GetApiList(ctx context.Context, req *v1.GetApiListReq) (*v1.GetApiListPageRes, error) + func (s *AuthorizationService) GetApiListAll(ctx context.Context, req *emptypb.Empty) (*v1.GetApiListAllRes, error) + func (s *AuthorizationService) GetMenuAll(ctx context.Context, req *emptypb.Empty) (*v1.GetMenuTreeRes, error) + func (s *AuthorizationService) GetMenuTree(ctx context.Context, req *emptypb.Empty) (*v1.GetMenuTreeRes, error) + func (s *AuthorizationService) GetPolicies(ctx context.Context, req *v1.RoleNameReq) (*v1.GetPoliciesRes, error) + func (s *AuthorizationService) GetRoleAll(ctx context.Context, req *emptypb.Empty) (*v1.GetRoleAllRes, error) + func (s *AuthorizationService) GetRoleMenu(ctx context.Context, req *v1.RoleNameReq) (*v1.GetMenuTreeRes, error) + func (s *AuthorizationService) GetRoleMenuBtn(ctx context.Context, req *v1.GetRoleMenuBtnReq) (*v1.GetRoleMenuBtnRes, error) + func (s *AuthorizationService) GetRoleMenuTree(ctx context.Context, req *v1.RoleNameReq) (*v1.GetMenuTreeRes, error) + func (s *AuthorizationService) GetRolesForUser(ctx context.Context, req *v1.GetRolesForUserReq) (*v1.GetRolesForUserRes, error) + func (s *AuthorizationService) GetUsersForRole(ctx context.Context, req *v1.RoleNameReq) (*v1.GetUsersForRoleRes, error) + func (s *AuthorizationService) SaveRoleMenu(ctx context.Context, req *v1.SaveRoleMenuReq) (*v1.CheckResponse, error) + func (s *AuthorizationService) SaveRoleMenuBtn(ctx context.Context, req *v1.SaveRoleMenuBtnReq) (*v1.CheckResponse, error) + func (s *AuthorizationService) SetRolesForUser(ctx context.Context, req *v1.SetRolesForUserReq) (*v1.CheckResponse, error) + func (s *AuthorizationService) UpdateApi(ctx context.Context, req *v1.UpdateApiReq) (*v1.CheckResponse, error) + func (s *AuthorizationService) UpdateMenu(ctx context.Context, req *v1.UpdateMenuReq) (*v1.CheckResponse, error) + func (s *AuthorizationService) UpdatePolicies(ctx context.Context, req *v1.UpdatePoliciesReq) (*v1.CheckResponse, error) + func (s *AuthorizationService) UpdateRole(ctx context.Context, req *v1.UpdateRoleReq) (*v1.CheckResponse, error)