From 1b41f567defc9e8928b70011de30de79b9faf41c Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Fri, 23 Aug 2024 08:46:12 +0200 Subject: [PATCH] more on the idea Inverting the recursion of the CTE-query, combined with the type condition. --- doc/rbac-performance-analysis.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/rbac-performance-analysis.md b/doc/rbac-performance-analysis.md index fd2d9a1c..fa80dde4 100644 --- a/doc/rbac-performance-analysis.md +++ b/doc/rbac-performance-analysis.md @@ -395,8 +395,12 @@ We found some solution approaches: Instead of starting the recursion with `currentsubjectsuuids()`, we could start it with the target table name and row-type, then recurse down to the `currentsubjectsuuids()`. - - This idea was not yet explored. + + In the end, we need the object UUIDs, though. + But if we start with the join of `rbacObject` with `rbacPermission`, + we need to forward the object UUIDs through the whole recursion. + + This idea was not yet further explored. ### Adding The Object Type To The Table `rbacObject`