mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-01 10:42:12 +00:00
BucketAllowKey and BucketDenyKey
This commit is contained in:
@@ -147,6 +147,9 @@ impl ApiHandler for AdminApiServer {
|
||||
}
|
||||
Endpoint::CreateBucket => handle_create_bucket(&self.garage, req).await,
|
||||
Endpoint::DeleteBucket { id } => handle_delete_bucket(&self.garage, id).await,
|
||||
// Bucket-key permissions
|
||||
Endpoint::BucketAllowKey => handle_bucket_allow_key(&self.garage, req).await,
|
||||
Endpoint::BucketDenyKey => handle_bucket_deny_key(&self.garage, req).await,
|
||||
_ => Err(Error::NotImplemented(format!(
|
||||
"Admin endpoint {} not implemented yet",
|
||||
endpoint.name()
|
||||
|
||||
Reference in New Issue
Block a user