erroring on the server works from now on
This commit is contained in:
12
Cargo.lock
generated
12
Cargo.lock
generated
@@ -7031,6 +7031,7 @@ dependencies = [
|
|||||||
"tower",
|
"tower",
|
||||||
"tracing",
|
"tracing",
|
||||||
"tracing-subscriber",
|
"tracing-subscriber",
|
||||||
|
"trait-variant",
|
||||||
"tui-canvas-validation-core",
|
"tui-canvas-validation-core",
|
||||||
"unicode-width 0.2.2",
|
"unicode-width 0.2.2",
|
||||||
"url",
|
"url",
|
||||||
@@ -8542,6 +8543,17 @@ dependencies = [
|
|||||||
"tracing-log",
|
"tracing-log",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "trait-variant"
|
||||||
|
version = "0.1.3"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "b19a4867a870f6edc4c283f2b455804b1879c0baf0e642f26b03ed8ee262d9d3"
|
||||||
|
dependencies = [
|
||||||
|
"proc-macro2",
|
||||||
|
"quote",
|
||||||
|
"syn 2.0.117",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "try-lock"
|
name = "try-lock"
|
||||||
version = "0.2.5"
|
version = "0.2.5"
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ service AuthService {
|
|||||||
rpc ListRolePermissions(ListRolePermissionsRequest) returns (RolePermissions);
|
rpc ListRolePermissions(ListRolePermissionsRequest) returns (RolePermissions);
|
||||||
rpc ListGrantableObjects(ListGrantableObjectsRequest) returns (ListGrantableObjectsResponse);
|
rpc ListGrantableObjects(ListGrantableObjectsRequest) returns (ListGrantableObjectsResponse);
|
||||||
|
|
||||||
// Support diagnostics. Requires read on diagnostics:internal-errors.
|
// Diagnostic browsing is admin-only; authenticated UUID lookup follows role restrictions.
|
||||||
rpc ListInternalErrors(ListInternalErrorsRequest) returns (ListInternalErrorsResponse);
|
rpc ListInternalErrors(ListInternalErrorsRequest) returns (ListInternalErrorsResponse);
|
||||||
rpc GetInternalError(GetInternalErrorRequest) returns (InternalError);
|
rpc GetInternalError(GetInternalErrorRequest) returns (InternalError);
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -846,7 +846,7 @@ pub mod auth_service_client {
|
|||||||
);
|
);
|
||||||
self.inner.unary(req, path, codec).await
|
self.inner.unary(req, path, codec).await
|
||||||
}
|
}
|
||||||
/// Support diagnostics. Requires read on diagnostics:internal-errors.
|
/// Diagnostic browsing is admin-only; authenticated UUID lookup follows role restrictions.
|
||||||
pub async fn list_internal_errors(
|
pub async fn list_internal_errors(
|
||||||
&mut self,
|
&mut self,
|
||||||
request: impl tonic::IntoRequest<super::ListInternalErrorsRequest>,
|
request: impl tonic::IntoRequest<super::ListInternalErrorsRequest>,
|
||||||
@@ -1070,7 +1070,7 @@ pub mod auth_service_server {
|
|||||||
tonic::Response<super::ListGrantableObjectsResponse>,
|
tonic::Response<super::ListGrantableObjectsResponse>,
|
||||||
tonic::Status,
|
tonic::Status,
|
||||||
>;
|
>;
|
||||||
/// Support diagnostics. Requires read on diagnostics:internal-errors.
|
/// Diagnostic browsing is admin-only; authenticated UUID lookup follows role restrictions.
|
||||||
async fn list_internal_errors(
|
async fn list_internal_errors(
|
||||||
&self,
|
&self,
|
||||||
request: tonic::Request<super::ListInternalErrorsRequest>,
|
request: tonic::Request<super::ListInternalErrorsRequest>,
|
||||||
|
|||||||
2
server
2
server
Submodule server updated: 7f652545a4...b5c854f8aa
Reference in New Issue
Block a user