syntax = "proto3"; package onprem.user.v1; option go_package = "gitlab.com/on-prem-net/protocol/onprem/user/v1;userproto"; import "onprem/user/v1/error.proto"; import "onprem/user/v1/role.proto"; message RoleFilter { } message CreateRoleRequest { Role role = 1; } message CreateRoleResponse { Role role = 1; } message DeleteRoleRequest { string id = 1; } message DeleteRoleResponse { } message FindRoleRequest { string id = 1; } message FindRoleResponse { Role role = 1; } message FindRolesRequest { RoleFilter filter = 1; } message FindRolesResponse { repeated Role roles = 1; } message UpdateRoleRequest { Role role = 1; } message UpdateRoleResponse { Role role = 1; } message ValidateRoleRequest { Role role = 1; } message ValidateRoleResponse { repeated ErrorObject errors = 1; }