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

Populate default access bindings to remove complexity in code

XMLWordPrintable

    • Product / Portfolio Work
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide

      _ensure_default_bindings_exist is in the bootstrap tenant process.

      all existing tenants have default access objects and no need to lazily create them

      Show
      _ensure_default_bindings_exist is in the bootstrap tenant process. all existing tenants have default access objects and no need to lazily create them
    • Unset
    • None
    • 5

      It is better to keep consistency with spicedb and keep the code simpler: https://redhat-internal.slack.com/archives/C023NSG08N7/p1771281130818579?thread_ts=1771001684.265419&cid=C023NSG08N7

      1. We can add _ensure_default_bindings_exist into the bootstrap tenant.
      2. And we can also migrate for all existing tenants and no need to lazily create them. (would generate ~100M role bindings)

              Unassigned Unassigned
              rh-ee-zhzeng Jay Zeng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: