Skip to content

chore(proto): update generated SDK with latest Permify definitions#404

Merged
omer-topal merged 1 commit intomainfrom
proto-update/permify-latest
Mar 26, 2026
Merged

chore(proto): update generated SDK with latest Permify definitions#404
omer-topal merged 1 commit intomainfrom
proto-update/permify-latest

Conversation

@omer-topal
Copy link
Contributor

@omer-topal omer-topal commented Mar 26, 2026

Automatically created PR with the latest generated SDK from Permify proto definitions.

Summary by CodeRabbit

Release Notes

  • New Features

    • Introduced bulk permission checking capability, enabling up to 100 permission verification requests per single call.
  • Updates

    • Service version upgraded to v1.6.7.

@omer-topal omer-topal added dependencies Pull requests that update a dependency file automated labels Mar 26, 2026
@coderabbitai
Copy link

coderabbitai bot commented Mar 26, 2026

Caution

Review failed

Pull request was closed or merged during review

📝 Walkthrough

Walkthrough

This PR introduces a new bulk permission check RPC endpoint to the Permission service alongside a version bump for OpenAPI metadata. The bulk endpoint supports checking permissions for up to 100 entities in a single request.

Changes

Cohort / File(s) Summary
OpenAPI Version Update
proto/base/v1/openapi.proto
Bumped OpenAPI/Swagger metadata version from v1.5.0 to v1.6.7 and added end-of-file newline.
Bulk Permission Check Service
proto/base/v1/service.proto
Added new BulkCheck RPC to Permission service with HTTP POST mapping to /v1/tenants/{tenant_id}/permissions/bulk-check. Introduced three new message types: PermissionBulkCheckRequestItem (entity, permission, subject), PermissionBulkCheckRequest (tenant_id, metadata, items array with 1-100 validation), and PermissionBulkCheckResponse (repeated results).

Sequence Diagram

sequenceDiagram
    actor Client
    participant PermissionService as Permission Service
    participant Storage as Permission Storage

    Client->>PermissionService: BulkCheckRequest<br/>(tenant_id, items[])
    
    Note over PermissionService: Validate request<br/>(1-100 items, required fields)
    
    loop For each item in request
        PermissionService->>Storage: Check permission<br/>(entity, permission, subject)
        Storage-->>PermissionService: Permission result
    end
    
    PermissionService-->>Client: BulkCheckResponse<br/>(results[])
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 Hops of joy
New endpoints bloom with validation tight,
Bulk checks now dance in batches bright,
A hundred permissions checked with glee,
The service grows, efficient and free!
Thump thump 🥕

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The title refers to updating generated SDK with latest Permify definitions, which is partially related to the changeset. However, the main changes are adding a new BulkCheck RPC operation and updating OpenAPI metadata version, not simply updating SDK definitions. Revise title to be more specific about the primary changes, such as 'chore(proto): add Permission BulkCheck RPC and update OpenAPI version' or 'feat(proto): add bulk permission check endpoint'.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch proto-update/permify-latest

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@omer-topal omer-topal merged commit 64db840 into main Mar 26, 2026
3 of 4 checks passed
@omer-topal omer-topal deleted the proto-update/permify-latest branch March 26, 2026 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant