Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-40974

[Spike] Explore options for incorporating Kessel as a cross-cutting concern

XMLWordPrintable

      The current naive implementation is essentially re-implementing RBAC with Kessel, which allowed for minimal code changes but didn't allow for using any new functionality

      The idea here is to investigate options to take advantage of things like checks against specific objects where appropriate (vs always doing lookupresources on all workspaces) and fully consistent checks before making updates.

      The most simplistic implementation might simply call Kessel inline from each action or any context where we need to know more. Though it may also be possible to use one or more interceptors like HBI currently does to integrate with RBAC. Requests fall (mostly) into the following buckets, which each have their own concerns to address:

      Feature flags must still work (must be switchable back to rbac)

      Anything sufficiently generic should evolve toward being pulled out into Python SDK

      Where we can do better, do. If not, parity is enough.

              wscalf@redhat.com William Scalf
              wscalf@redhat.com William Scalf
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: