Commit 424bfca
Patchwork Collective
We tested this some tonight, with caching on and off, and it seems to work. It's not the most elegant solution or the fastes for sure.
Snab had mentioned making `HasAnyRole.required_roles` a property and coercing all the roles to ids for faster comparision. We might add that in later.1 parent 5395052 commit 424bfca
1 file changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
320 | 327 | | |
321 | | - | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
322 | 331 | | |
323 | | - | |
324 | 332 | | |
325 | 333 | | |
326 | 334 | | |
| |||
0 commit comments