(
&self,
request: Request<GetDraftPolicyRequest>,
)
| 565 | |
| 566 | #[rpc_auth(auth = "dual", scope = "config:read", role = "user")] |
| 567 | async fn get_draft_policy( |
| 568 | &self, |
| 569 | request: Request<GetDraftPolicyRequest>, |
| 570 | ) -> Result<Response<GetDraftPolicyResponse>, Status> { |
| 571 | policy::handle_get_draft_policy(&self.state, request).await |
| 572 | } |
| 573 | |
| 574 | #[rpc_auth(auth = "bearer", scope = "config:write", role = "admin")] |
| 575 | async fn approve_draft_chunk( |
no test coverage detected