(
&self,
request: Request<ApproveDraftChunkRequest>,
)
| 573 | |
| 574 | #[rpc_auth(auth = "bearer", scope = "config:write", role = "admin")] |
| 575 | async fn approve_draft_chunk( |
| 576 | &self, |
| 577 | request: Request<ApproveDraftChunkRequest>, |
| 578 | ) -> Result<Response<ApproveDraftChunkResponse>, Status> { |
| 579 | policy::handle_approve_draft_chunk(&self.state, request).await |
| 580 | } |
| 581 | |
| 582 | #[rpc_auth(auth = "bearer", scope = "config:write", role = "admin")] |
| 583 | async fn reject_draft_chunk( |
no test coverage detected