MCPcopy Create free account
hub / github.com/bytebase/bytebase / getBuildinRole

Method getBuildinRole

backend/api/v1/role_service.go:70–72  ·  view source on GitHub ↗
(roleID string)

Source from the content-addressed store, hash-verified

68}
69
70func (*RoleService) getBuildinRole(roleID string) *store.RoleMessage {
71 return store.GetPredefinedRole(roleID)
72}
73
74// CreateRole creates a new role.
75func (s *RoleService) CreateRole(ctx context.Context, req *connect.Request[v1pb.CreateRoleRequest]) (*connect.Response[v1pb.Role], error) {

Callers 4

GetRoleMethod · 0.95
CreateRoleMethod · 0.95
UpdateRoleMethod · 0.95
DeleteRoleMethod · 0.95

Calls 1

GetPredefinedRoleFunction · 0.92

Tested by

no test coverage detected