Closed jiashengguo closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
zenstack-new-site | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 29, 2024 10:01am |
[!CAUTION]
Review failed
The pull request is closed.
The changes involve updates to access control permissions in a multi-tenant application. The modifications replace object reference checks with user ID comparisons for creating, updating, and reading posts and organizational entities. This adjustment ensures that permissions are validated against user identifiers, enhancing the specificity and reliability of access control logic.
Files | Change Summary |
---|---|
blog/saas-backend/index.md | Updated access control permissions in organizationBaseEntity and ToDo model to use user IDs instead of object references for create, update, and read operations. |
sequenceDiagram
participant User
participant Auth
participant Org
participant Entity
User->>Auth: Authenticate
Auth-->>User: Return user ID
User->>Org: Request to create/update/read entity
Org->>Entity: Check permissions (using user ID)
Entity-->>Org: Permission granted/denied
Org-->>User: Response to request
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes