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

Removal of SA from Group requires prefixed version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • RBAC
    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • CRCPLAN-185 - RBAC | Support Service Account Auth in Console RBAC
    • No

      When trying to remove a service account from RBAC group, a "service-account-" is still needed in the request (example):
      https://console.stage.redhat.com/api/rbac/v1/groups/40aed703-5532-4ad5-8f17-b8178282ba57/principals/?service-accounts=service-account-1fe84010-6b7b-4b39-8fb0-024cc63b0d07
      Without the prefix (https://console.stage.redhat.com/api/rbac/v1/groups/40aed703-5532-4ad5-8f17-b8178282ba57/principals/?service-accounts=1fe84010-6b7b-4b39-8fb0-024cc63b0d07), the request returns 404Expected state - remove the prefix check

      Let's also update the "service-accounts" API param OpenApi specs to say "A comma separated list of client IDs for service accounts to remove from group" rather than "A comma separated list of usernames for service accounts to remove from group"

            pcihalov@redhat.com Petra Cihalova
            fhlavac Filip Hlavac
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: