Add approval request HTTP surface
This commit is contained in:
1 parent
d83ab541d9
commit
8a1cc1746f
16 files changed
+889
-69
No files matched your search
@@ -258,7 +258,11 @@ pub(super) async fn create_approval_platform_api_key(
|
||||
agent_slug,
|
||||
name,
|
||||
PlatformApiKeyKind::Approval,
|
||||
&[PlatformApiKeyScope::Approve, PlatformApiKeyScope::Deny],
|
||||
&[
|
||||
PlatformApiKeyScope::ReadPending,
|
||||
PlatformApiKeyScope::Approve,
|
||||
PlatformApiKeyScope::Deny,
|
||||
],
|
||||
"crk_appr",
|
||||
)
|
||||
.await
|
||||
|
||||
Reference in new issue
Block a user