Commit a311cc4
authored
Support for Redis 6 ACLs (phpredis#1791)
Add support for Redis 6 ACLs in the `Redis`, `RedisCluster`, and `RedisArray` classes.
On a related note, it adds a mechanism for users to customize how we generate persistent connection IDs such that they can be grouped in different ways depending on the specific use case required (e.g. it would allow connections to be grouped by username, or by user-defined persistent_id, or both).1 parent 04def9f commit a311cc4
File tree
25 files changed
+1641
-656
lines changed- tests
25 files changed
+1641
-656
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
47 | 48 | | |
48 | | - | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | | - | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
57 | 58 | | |
58 | | - | |
59 | | - | |
60 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
61 | 62 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
| 273 | + | |
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
| 277 | + | |
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| 282 | + | |
| 283 | + | |
282 | 284 | | |
283 | 285 | | |
| 286 | + | |
284 | 287 | | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
285 | 294 | | |
286 | 295 | | |
287 | 296 | | |
| |||
417 | 426 | | |
418 | 427 | | |
419 | 428 | | |
| 429 | + | |
420 | 430 | | |
421 | 431 | | |
422 | 432 | | |
| |||
431 | 441 | | |
432 | 442 | | |
433 | 443 | | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
434 | 461 | | |
435 | 462 | | |
436 | 463 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
640 | | - | |
641 | | - | |
642 | | - | |
| 640 | + | |
643 | 641 | | |
644 | 642 | | |
645 | 643 | | |
| |||
850 | 848 | | |
851 | 849 | | |
852 | 850 | | |
853 | | - | |
854 | | - | |
| 851 | + | |
| 852 | + | |
855 | 853 | | |
856 | 854 | | |
857 | 855 | | |
| |||
1050 | 1048 | | |
1051 | 1049 | | |
1052 | 1050 | | |
1053 | | - | |
1054 | | - | |
1055 | | - | |
1056 | | - | |
| 1051 | + | |
| 1052 | + | |
1057 | 1053 | | |
1058 | 1054 | | |
1059 | 1055 | | |
| |||
2294 | 2290 | | |
2295 | 2291 | | |
2296 | 2292 | | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
| 2299 | + | |
| 2300 | + | |
| 2301 | + | |
| 2302 | + | |
| 2303 | + | |
| 2304 | + | |
| 2305 | + | |
| 2306 | + | |
| 2307 | + | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
| 2314 | + | |
| 2315 | + | |
| 2316 | + | |
| 2317 | + | |
| 2318 | + | |
| 2319 | + | |
| 2320 | + | |
2297 | 2321 | | |
2298 | 2322 | | |
2299 | 2323 | | |
2300 | 2324 | | |
2301 | 2325 | | |
| 2326 | + | |
2302 | 2327 | | |
2303 | 2328 | | |
2304 | 2329 | | |
| |||
2712 | 2737 | | |
2713 | 2738 | | |
2714 | 2739 | | |
2715 | | - | |
| 2740 | + | |
2716 | 2741 | | |
2717 | 2742 | | |
2718 | 2743 | | |
| |||
2771 | 2796 | | |
2772 | 2797 | | |
2773 | 2798 | | |
2774 | | - | |
2775 | | - | |
| 2799 | + | |
| 2800 | + | |
2776 | 2801 | | |
2777 | 2802 | | |
2778 | | - | |
| 2803 | + | |
2779 | 2804 | | |
2780 | 2805 | | |
2781 | 2806 | | |
| |||
2862 | 2887 | | |
2863 | 2888 | | |
2864 | 2889 | | |
2865 | | - | |
2866 | | - | |
2867 | | - | |
2868 | | - | |
2869 | | - | |
2870 | | - | |
2871 | | - | |
2872 | | - | |
2873 | | - | |
2874 | | - | |
| 2890 | + | |
2875 | 2891 | | |
2876 | | - | |
2877 | | - | |
2878 | | - | |
2879 | | - | |
| 2892 | + | |
2880 | 2893 | | |
2881 | 2894 | | |
2882 | 2895 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
501 | 505 | | |
502 | 506 | | |
503 | 507 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
213 | 217 | | |
214 | 218 | | |
215 | 219 | | |
| |||
263 | 267 | | |
264 | 268 | | |
265 | 269 | | |
266 | | - | |
| 270 | + | |
| 271 | + | |
267 | 272 | | |
268 | 273 | | |
269 | 274 | | |
| |||
0 commit comments