This repository was archived by the owner on Apr 21, 2026. It is now read-only.
Commit 203758a
fix: Remove lCase() from checkRoleAccess controller name
CockroachDB does case-sensitive string comparisons. The lCase() call
converted controller names to lowercase (e.g., 'usercontroller') but
permissions are stored in PascalCase (e.g., 'UserController'), causing
the permission query to always return 0 results and block all access.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent eee7a21 commit 203758a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
0 commit comments