Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-8568

api: Add kessel integration

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Content

      Goal: 

      • Kessel is turned on in stage

      Acceptance Criteria:

        • Based on 'feature' or env variable, use either RBAC or kessel
      • Add support for optionally turning on Kessel integration (via env variable)
      • Turn on kessell in stage
      • Verify auth checks work
        • User with admin role
        • user with read only role
        • user with no roles

       

      For using kessel, instead of working with an organization, we'll want to lookup their 'default' workspace

      Api spec for looking up workspace:

      https://github.com/RedHatInsights/insights-rbac/blob/master/docs/source/specs/v2/openapi.yaml

       

      Then, we'll want to ask kessel for that workspace, does the user have  repos read/write  or template read/write as we do today.  how to do this should be covered here: https://project-kessel.github.io/docs/building-with-kessel/how-to/migrate-from-rbac-v1-to-v2/

      Enabling in stage/prod:

      https://project-kessel.github.io/docs-internal/using-kessel/in-production

       

       

      Background info: https://docs.google.com/document/d/1XnINsHuYeHEi22q_1cS0gUalX-eXl3V19gGf0Wr8NsE/edit?tab=t.0#heading=h.pfjzbznm9cbk

       

              rverdile@redhat.com Ryan Verdile
              rhn-engineering-jsherrill Justin Sherrill
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: