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

In order to support existing binding mappings from V2 operations, index the v2 role id in combination with resource columns so they can be looked up efficiently

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • CRCPLAN-232 - AuthZ | PRBAC v2 Service Provider Migration Initiation (Internal)
    • None

      This may require/warrant storing the ID as its own field rather than inside the JSON body, but we may be able to index the field inside the JSON body.

      If we store as its own column, we should add this now to avoid a data migration later.

      A BindingMapping should also be unique per v2 role and resource, so a compound unique constraint on all of those fields should be added to help catch race conditions.

      We need to support querying by both the V2 role and alternatively the V1 role, so it's not obvious if the compound index on the resource and v2 role will help in this, or if another compound index is needed, or we're fine with just the FK on the v1 role as enough. A query plan may help us decide.

            Unassigned Unassigned
            rhit-ahenning Alec Henninger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: