1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 02:54:03 +00:00
This commit is contained in:
lukinovec 2025-06-12 09:22:50 +02:00
parent fb382a10d1
commit 6da3307ec7

View file

@ -462,7 +462,7 @@ class TableRLSManager implements RLSPolicyManager
// Example: // Example:
// - posts table has highlighted_comment_id that leads to the comments table // - posts table has highlighted_comment_id that leads to the comments table
// - comments table has recursive_post_id that leads to the posts table (recursive relationship), // - comments table has recursive_post_id that leads to the posts table (recursive relationship),
// - comments table also has tenant_id which leadds to the tenants table (a valid path). // - comments table also has tenant_id which leads to the tenants table (a valid path).
// If the recursive path got cached first, the path leading directly through tenants would never be found. // If the recursive path got cached first, the path leading directly through tenants would never be found.
return $this->buildPath(recursive: true); return $this->buildPath(recursive: true);
} else { } else {