Skip to content

Commit c6f546b

Browse files
authored
Remove existing permission 'read:account' for GetAccountQuotas (#162)
Individual account default roles for permissions need to be overhauled
1 parent 1e4127c commit c6f546b

10 files changed

Lines changed: 16 additions & 16 deletions

File tree

gen/go/qdrant/cloud/quota/v1/quota.pb.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/go/qdrant/cloud/quota/v1/quota_grpc.pb.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/openapiv2/qdrant/cloud/quota/v1/quota.swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"paths": {
1919
"/api/quota/v1/accounts/{accountId}/quotas": {
2020
"get": {
21-
"summary": "Get quotas for the account identified by the given account ID.\nRequired permissions:\n- read:account",
21+
"summary": "Get quotas for the account identified by the given account ID.\nRequired permissions:\n- None (authenticated only)",
2222
"operationId": "QuotaService_GetAccountQuotas",
2323
"responses": {
2424
"200": {

gen/python/qdrant/cloud/quota/v1/quota_pb2.py

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/python/qdrant/cloud/quota/v1/quota_pb2_grpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def GetAuthenticatedUserQuotas(self, request, context):
4343
def GetAccountQuotas(self, request, context):
4444
"""Get quotas for the account identified by the given account ID.
4545
Required permissions:
46-
- read:account
46+
- None (authenticated only)
4747
"""
4848
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
4949
context.set_details('Method not implemented!')

gen/typescript/qdrant/cloud/quota/v1/quota-QuotaService_connectquery.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const getAuthenticatedUserQuotas: typeof QuotaService["method"]["getAuthe
1515
/**
1616
* Get quotas for the account identified by the given account ID.
1717
* Required permissions:
18-
* - read:account
18+
* - None (authenticated only)
1919
*
2020
* @generated from rpc qdrant.cloud.quota.v1.QuotaService.GetAccountQuotas
2121
*/

gen/typescript/qdrant/cloud/quota/v1/quota-QuotaService_connectquery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const getAuthenticatedUserQuotas = QuotaService.method.getAuthenticatedUs
1616
/**
1717
* Get quotas for the account identified by the given account ID.
1818
* Required permissions:
19-
* - read:account
19+
* - None (authenticated only)
2020
*
2121
* @generated from rpc qdrant.cloud.quota.v1.QuotaService.GetAccountQuotas
2222
*/

gen/typescript/qdrant/cloud/quota/v1/quota_pb.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export declare const QuotaService: GenService<{
140140
/**
141141
* Get quotas for the account identified by the given account ID.
142142
* Required permissions:
143-
* - read:account
143+
* - None (authenticated only)
144144
*
145145
* @generated from rpc qdrant.cloud.quota.v1.QuotaService.GetAccountQuotas
146146
*/

gen/typescript/qdrant/cloud/quota/v1/quota_pb.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { file_qdrant_cloud_common_v1_common } from "../../common/v1/common_pb.js
1111
* Describes the file qdrant/cloud/quota/v1/quota.proto.
1212
*/
1313
export const file_qdrant_cloud_quota_v1_quota = /*@__PURE__*/
14-
fileDesc("CiFxZHJhbnQvY2xvdWQvcXVvdGEvdjEvcXVvdGEucHJvdG8SFXFkcmFudC5jbG91ZC5xdW90YS52MSIjCiFHZXRBdXRoZW50aWNhdGVkVXNlclF1b3Rhc1JlcXVlc3QiSQoiR2V0QXV0aGVudGljYXRlZFVzZXJRdW90YXNSZXNwb25zZRIjChJtYXhfb3duZWRfYWNjb3VudHMYASABKA1CB7pIBCoCIAAiNwoXR2V0QWNjb3VudFF1b3Rhc1JlcXVlc3QSHAoKYWNjb3VudF9pZBgBIAEo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b3VkXFF1b3RhXFYxXEdQQk1ldGFkYXRh6gIYUWRyYW50OjpDbG91ZDo6UXVvdGE6OlYxYgZwcm90bzM", [file_buf_validate_validate, file_google_api_annotations, file_qdrant_cloud_common_v1_common]);
14+
fileDesc("CiFxZHJhbnQvY2xvdWQvcXVvdGEvdjEvcXVvdGEucHJvdG8SFXFkcmFudC5jbG91ZC5xdW90YS52MSIjCiFHZXRBdXRoZW50aWNhdGVkVXNlclF1b3Rhc1JlcXVlc3QiSQoiR2V0QXV0aGVudGljYXRlZFVzZXJRdW90YXNSZXNwb25zZRIjChJtYXhfb3duZWRfYWNjb3VudHMYASABKA1CB7pIBCoCIAAiNwoXR2V0QWNjb3VudFF1b3Rhc1JlcXVlc3QSHAoKYWNjb3VudF9pZBgBIAEoCUIIukgFcgOwAQEi1AEKGEdldEFjY291bnRRdW90YXNSZXNwb25zZRIcCgphY2NvdW50X2lkGAEgASgJQgi6SAVyA7ABARIdCgxtYXhfY2x1c3RlcnMYAiABKA1CB7pIBCoCIAASIgoRbWF4X2NsdXN0ZXJfbm9kZXMYAyABKA1CB7pIBCoCIAASLgodbWF4X2NsdXN0ZXJfZGF0YWJhc2VfYXBpX2tleXMYBCABKA1CB7pIBCoCIAASJwoWbWF4X2ZyZWVfdGllcl9jbHVzdGVycxgFIAEoDUIHukgEKgIgADKEAwoMUXVvdGFTZXJ2aWNlEsUBChpHZXRBdXRoZW50aWNhdGVkVXNlclF1b3RhcxI4LnFkcmFudC5jbG91ZC5xdW90YS52MS5HZXRBdXRoZW50aWNhdGVkVXNlclF1b3Rhc1JlcXVlc3QaOS5xZHJhbnQuY2xvdWQucXVvdGEudjEuR2V0QXV0aGVudGljYXRlZFVzZXJRdW90YXNSZXNwb25zZSIyirUYAJK1GACitRgBAYLT5JMCHxIdL2FwaS9xdW90YS92MS91c2Vycy9tZS9xdW90YXMSqwEKEEdldEFjY291bnRRdW90YXMSLi5xZHJhbnQuY2xvdWQucXVvdGEudjEuR2V0QWNjb3VudFF1b3Rhc1JlcXVlc3QaLy5xZHJhbnQuY2xvdWQucXVvdGEudjEuR2V0QWNjb3VudFF1b3Rhc1Jlc3BvbnNlIjaKtRgAgtPkkwIsEiovYXBpL3F1b3RhL3YxL2FjY291bnRzL3thY2NvdW50X2lkfS9xdW90YXNC7gEKGWNvbS5xZHJhbnQuY2xvdWQucXVvdGEudjFCClF1b3RhUHJvdG9QAVpOZ2l0aHViLmNvbS9xZHJhbnQvcWRyYW50LWNsb3VkLXB1YmxpYy1hcGkvZ2VuL2dvL3FkcmFudC9jbG91ZC9xdW90YS92MTtxdW90YXYxogIDUUNRqgIVUWRyYW50LkNsb3VkLlF1b3RhLlYxygIVUWRyYW50XENsb3VkXFF1b3RhXFYx4gIhUWRyYW50XENsb3VkXFF1b3RhXFYxXEdQQk1ldGFkYXRh6gIYUWRyYW50OjpDbG91ZDo6UXVvdGE6OlYxYgZwcm90bzM", [file_buf_validate_validate, file_google_api_annotations, file_qdrant_cloud_common_v1_common]);
1515

1616
/**
1717
* Describes the message qdrant.cloud.quota.v1.GetAuthenticatedUserQuotasRequest.

proto/qdrant/cloud/quota/v1/quota.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ service QuotaService {
2323
}
2424
// Get quotas for the account identified by the given account ID.
2525
// Required permissions:
26-
// - read:account
26+
// - None (authenticated only)
2727
rpc GetAccountQuotas(GetAccountQuotasRequest) returns (GetAccountQuotasResponse) {
2828
// permissions
29-
option (common.v1.permissions) = "read:account";
29+
option (common.v1.permissions) = "";
3030
// gRPC Gateway REST call
3131
option (google.api.http) = {get: "/api/quota/v1/accounts/{account_id}/quotas"};
3232
}

0 commit comments

Comments
 (0)