more on the idea Inverting the recursion of the CTE-query, combined with the type condition.

This commit is contained in:
Michael Hoennig 2024-08-23 08:46:12 +02:00
parent cad8b475f8
commit 1b41f567de

View File

@ -395,8 +395,12 @@ We found some solution approaches:
Instead of starting the recursion with `currentsubjectsuuids()`, Instead of starting the recursion with `currentsubjectsuuids()`,
we could start it with the target table name and row-type, we could start it with the target table name and row-type,
then recurse down to the `currentsubjectsuuids()`. 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` ### Adding The Object Type To The Table `rbacObject`