Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThis pull request modifies public API definitions and adds new utilities in both authentication and Prisma modules. The AuthModule’s Changes
Sequence Diagram(s)sequenceDiagram
participant C as Caller
participant AQ as accessibleQuery
participant AB as accessibleBy
C->>AQ: Call accessibleQuery(ability, action, modelName)
alt Ability is undefined
AQ-->>C: Return {}
else Ability is provided
AQ->>AB: Invoke accessibleBy(ability, action)
AB-->>AQ: Return permissions map
AQ-->>C: Return permissions for modelName
end
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (5)
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
🎉 This PR is included in version 2.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary by CodeRabbit
New Features
Tests