rolevo

package
v0.0.0-...-57ed434 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: AGPL-3.0 Imports: 2 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticateAuthInfoReqVo

type AuthenticateAuthInfoReqVo struct {
	ProjectAuthInfo *bo.ProjectAuthBo `json:"projectAuthInfo"`
	IssueAuthInfo   *bo.IssueAuthBo   `json:"issueAuthInfo"`
	Fields          []string          `json:"fields"`
}

type AuthenticateReqVo

type AuthenticateReqVo struct {
	OrgId         int64                     `json:"orgId"`
	UserId        int64                     `json:"userId"`
	Path          string                    `json:"path"`
	Operation     string                    `json:"operation"`
	AuthInfoReqVo AuthenticateAuthInfoReqVo `json:"authInfoVo"`
}

type ClearUserRoleReqVo

type ClearUserRoleReqVo struct {
	OrgId     int64   `json:"orgId"`
	UserIds   []int64 `json:"userIds"`
	ProjectId int64   `json:"projectId"`
}

type CreateOrgReqVo

type CreateOrgReqVo struct {
	OrgId  int64            `json:"orgId"`
	UserId int64            `json:"userId"`
	Input  vo.CreateRoleReq `json:"input"`
}

type DelRoleReqVo

type DelRoleReqVo struct {
	OrgId  int64         `json:"orgId"`
	UserId int64         `json:"userId"`
	Input  vo.DelRoleReq `json:"input"`
}

type GetOrgAdminUserBatchReqInput

type GetOrgAdminUserBatchReqInput struct {
	OrgIds []int64 `json:"orgIds"`
}

type GetOrgAdminUserBatchReqVo

type GetOrgAdminUserBatchReqVo struct {
	OrgId int64                        `json:"orgId"`
	Input GetOrgAdminUserBatchReqInput `json:"input"`
}

type GetOrgAdminUserBatchRespVo

type GetOrgAdminUserBatchRespVo struct {
	vo.Err
	// orgId => [用户id]
	Data map[int64][]int64 `json:"data"`
}

type GetOrgAdminUserReqVo

type GetOrgAdminUserReqVo struct {
	OrgId int64 `json:"orgId"`
}

type GetOrgAdminUserRespVo

type GetOrgAdminUserRespVo struct {
	vo.Err
	//用户id
	Data []int64 `json:"data"`
}

type GetOrgRoleDepartmentReqVo

type GetOrgRoleDepartmentReqVo struct {
	OrgId     int64 `json:"orgId"`
	ProjectId int64 `json:"projectId"`
}

type GetOrgRoleDepartmentRespVo

type GetOrgRoleDepartmentRespVo struct {
	vo.Err
	Data []RoleDepartment `json:"data"`
}

type GetOrgRoleListReqVo

type GetOrgRoleListReqVo struct {
	OrgId int64 `json:"orgId"`
}

type GetOrgRoleListRespVo

type GetOrgRoleListRespVo struct {
	vo.Err
	Data []*vo.Role `json:"data"`
}

type GetOrgRoleUserReqVo

type GetOrgRoleUserReqVo struct {
	OrgId     int64 `json:"orgId"`
	ProjectId int64 `json:"projectId"`
}

type GetOrgRoleUserRespVo

type GetOrgRoleUserRespVo struct {
	vo.Err
	Data []RoleUser `json:"data"`
}

type GetPersonalPermissionInfoReqVo

type GetPersonalPermissionInfoReqVo struct {
	OrgId         int64  `json:"orgId"`
	UserId        int64  `json:"userId"`
	ProjectId     *int64 `json:"projectId"`
	IssueId       *int64 `json:"issueId"`
	SourceChannel string `json:"sourceChannel"`
}

type GetPersonalPermissionInfoRespVo

type GetPersonalPermissionInfoRespVo struct {
	vo.Err
	Data map[string]interface{} `json:"data"`
}

type GetProjectRoleListReqVo

type GetProjectRoleListReqVo struct {
	OrgId     int64 `json:"orgId"`
	ProjectId int64 `json:"projectId"`
}

type GetUserAdminFlagReqVo

type GetUserAdminFlagReqVo struct {
	OrgId  int64 `json:"orgId"`
	UserId int64 `json:"userId"`
}

type GetUserAdminFlagRespVo

type GetUserAdminFlagRespVo struct {
	Data *bo.UserAdminFlagBo `json:"data"`
	vo.Err
}

type PermissionOperationListReqVo

type PermissionOperationListReqVo struct {
	OrgId     int64  `json:"orgId"`
	UserId    int64  `json:"userId"`
	RoleId    int64  `json:"roleId"`
	ProjectId *int64 `json:"projectId"`
}

type PermissionOperationListRespVo

type PermissionOperationListRespVo struct {
	vo.Err
	Data []*vo.PermissionOperationListResp `json:"data"`
}

type RemoveRoleDepartmentRelationReqVo

type RemoveRoleDepartmentRelationReqVo struct {
	OrgId      int64   `json:"orgId"`
	DeptIds    []int64 `json:"userIds"`
	OperatorId int64   `json:"operatorId"`
}

type RemoveRoleUserRelationReqVo

type RemoveRoleUserRelationReqVo struct {
	OrgId      int64   `json:"orgId"`
	UserIds    []int64 `json:"userIds"`
	OperatorId int64   `json:"operatorId"`
}

type RoleDepartment

type RoleDepartment struct {
	RoleId       int64  `json:"roleId"`
	RoleName     string `json:"roleName"`
	DepartmentId int64  `json:"departmentId"`
	RoleLangCode string `json:"roleLangCode"`
}

type RoleInitReqVo

type RoleInitReqVo struct {
	OrgId int64 `json:"orgId"`
}

type RoleInitRespVo

type RoleInitRespVo struct {
	RoleInitResp *bo.RoleInitResp `json:"data"`

	vo.Err
}

type RoleUser

type RoleUser struct {
	RoleId       int64  `json:"roleId"`
	RoleName     string `json:"roleName"`
	UserId       int64  `json:"userId"`
	RoleLangCode string `json:"roleLangCode"`
}

type RoleUserRelationReqVo

type RoleUserRelationReqVo struct {
	OrgId  int64 `json:"orgId"`
	UserId int64 `json:"userId"`
	RoleId int64 `json:"roleId"`
}

type UpdateDepartmentOrgRoleReqVo

type UpdateDepartmentOrgRoleReqVo struct {
	OrgId         int64  `json:"orgId"`
	CurrentUserId int64  `json:"currentUserId"`
	DepartmentId  int64  `json:"departmentId"`
	RoleId        int64  `json:"roleId"`
	ProjectId     *int64 `json:"projectId"`
}

type UpdateOrgOwnerReqVo

type UpdateOrgOwnerReqVo struct {
	OrgId      int64 `json:"orgId"`
	UserId     int64 `json:"userId"`
	OldOwnerId int64 `json:"oldOwnerId"`
	NewOwnerId int64 `json:"newOwnerId"`
}

type UpdateRolePermissionOperationReqVo

type UpdateRolePermissionOperationReqVo struct {
	OrgId  int64                               `json:"orgId"`
	UserId int64                               `json:"userId"`
	Input  vo.UpdateRolePermissionOperationReq `json:"input"`
}

type UpdateRoleReqVo

type UpdateRoleReqVo struct {
	OrgId  int64            `json:"orgId"`
	UserId int64            `json:"userId"`
	Input  vo.UpdateRoleReq `json:"input"`
}

type UpdateUserOrgRoleBatchData

type UpdateUserOrgRoleBatchData struct {
	UserIds []int64 `json:"userIds"`
	RoleId  int64   `json:"roleId"`
}

type UpdateUserOrgRoleBatchReqVo

type UpdateUserOrgRoleBatchReqVo struct {
	OrgId         int64                      `json:"orgId"`
	CurrentUserId int64                      `json:"currentUserId"`
	Input         UpdateUserOrgRoleBatchData `json:"input"`
}

type UpdateUserOrgRoleReqVo

type UpdateUserOrgRoleReqVo struct {
	OrgId         int64  `json:"orgId"`
	CurrentUserId int64  `json:"currentUserId"`
	UserId        int64  `json:"userId"`
	RoleId        int64  `json:"roleId"`
	ProjectId     *int64 `json:"projectId"`
}

Jump to

Keyboard shortcuts

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