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

Generate replication event for v1 ROLE endpoints

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Hide

      All actions which affect access decision are generating replication event.

      Show
      All actions which affect access decision are generating replication event.
    • Unset
    • CRCPLAN-232 - AuthZ | PRBAC v2 Service Provider Migration Initiation (Internal)
    • None
    • Access & Management Sprint 95, Access & Management Sprint 95, Access & Management Sprint 96, Access & Management Sprint 97

      Implement logic for each API action that impacts the access decision endpoint and builds a replication event .

      The replication event should include relations to be added and removed.

       

      {
        "relations_to_add": [
          {
            "resource": {
              "type": "role_binding",
              "id": "049fd753-4fe2-4d70-bc56-c59a68d749df"
            },
            "relation": "granted",
            "subject": {
              "type": "role",
              "id": "a1cb1ab4-0443-4257-b576-2eec75079d3d"
            }
          },
          {
            "resource": {
              "type": "role",
              "id": "a1cb1ab4-0443-4257-b576-2eec75079d3d"
            },
            "relation": "app_all_read",
            "subject": {
              "type": "user",
              "id": "*"
            }
          },
        ],
        "relations_to_remove": [
          {
            "resource": {
              "type": "keya/id",
              "id": "valueA"
            },
            "relation": "user_grant",
            "subject": {
              "type": "role_binding",
              "id": "bf8e6f6b-19b6-446a-81e4-d48a9b694bd4"
            }
          }]
      } 

              lpichler@redhat.com Libor Pichler
              lpichler@redhat.com Libor Pichler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: