Commit 754f4e5
committed
fix: restore files_accesscontrol functionality within getNodeForPath
This commit adds a workaround to restore the functionality of apps that
rely on descending the file-tree to check for access permissions, like
files_accesscontrol. The navigation is done navigating the tree upwards,
from the target node, to the root node.
Signed-off-by: Salvatore Martire <[email protected]>1 parent cf952ce commit 754f4e5
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
| 502 | + | |
502 | 503 | | |
503 | 504 | | |
504 | 505 | | |
| |||
518 | 519 | | |
519 | 520 | | |
520 | 521 | | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
521 | 530 | | |
522 | 531 | | |
523 | 532 | | |
| |||
529 | 538 | | |
530 | 539 | | |
531 | 540 | | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
532 | 547 | | |
533 | 548 | | |
534 | 549 | | |
0 commit comments