Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: add iam guard (#10574)
p0ny38eb8d751ce6
diff --git a/backend/api/v1/sheet_service.go b/backend/api/v1/sheet_service.goindex 7c8f6b3fff..683f2e889f 100644--- a/backend/api/v1/sheet_service.go+++ b/backend/api/v1/sheet_service.go@@ -166,7 +166,7 @@ func (s *SheetService) GetSheet(ctx context.Context, request *v1pb.GetSheetReque}// For issue sheets, check the bb.issues.get permission.- if sheet.Source == store.SheetFromBytebaseArtifact {+ if s.profile.DevelopmentIAM && sheet.Source == store.SheetFromBytebaseArtifact {user, ok := ctx.Value(common.UserContextKey).(*store.UserMessage)if !ok {return nil, status.Errorf(codes.Internal, "user not found")