Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: skip iam for sheet service (#9937)

p0ny21af070fa656
diff --git a/backend/api/v1/acl_iam.go b/backend/api/v1/acl_iam.go
index 85a830266e..46e0e6ddbc 100644
--- a/backend/api/v1/acl_iam.go
+++ b/backend/api/v1/acl_iam.go
@@ -240,6 +240,17 @@ func isSkippedMethod(fullMethod string) bool {
v1pb.SubscriptionService_GetFeatureMatrix_FullMethodName,
v1pb.SubscriptionService_UpdateSubscription_FullMethodName:
return true
+ // skip checking for sheet service because we want to
+ // discriminate bytebase artifact sheets and user sheets first.
+ // TODO(p0ny): implement
+ case
+ v1pb.SheetService_CreateSheet_FullMethodName,
+ v1pb.SheetService_GetSheet_FullMethodName,
+ v1pb.SheetService_SearchSheets_FullMethodName,
+ v1pb.SheetService_UpdateSheet_FullMethodName,
+ v1pb.SheetService_UpdateSheetOrganizer_FullMethodName,
+ v1pb.SheetService_DeleteSheet_FullMethodName:
+ return true
// skip checking for custom approval.
case
v1pb.IssueService_ApproveIssue_FullMethodName,