Commit 98fb14f
committed
fix: add hyphens to regex pattern for permission matching
- Update regex pattern to include hyphens in permission names
- Fix issue where hyphenated permissions like 'properties.view-all' were not being matched
- All 161 tests now passing
- User case 'properties.view-all||properties.view-own' now works correctly
Fixes: Hyphenated permission names in logical expressions1 parent 915132c commit 98fb14f
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
126 | | - | |
| 125 | + | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
0 commit comments