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

Client ID filter for Service Account on HCC Group > Group name returns wrong result

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Hide

      Service accounts can be filtered by Client ID

      • on HCC Console -> User Access -> Groups -> {group} -> Service accounts tab
      • via API GET /groups/{uuid}/principals/?principal_type=service-account&principal_username=<your_filter_char(s)>
        • create a group with at least 2 service account based principals
        • check that service accounts are filtered correctly

      with value that contains service-account- prefix e.g.:

      • full service account username principal_username=service-account-77cfb7b0-ebaf-013c-5886-6aa2427b506a
      • partial service account username principal_username=service-account-77

      the filtering is done based on the service account username stored in the database

      with value that doesn't contain this prefix e.g.:

      • single-character filtering principal_username=c
      • multiple-character filtering principal_username=cf

      the filtering is done based on the service account client id stored in the database

      note: the incorrect filtering was caused by using usernames to filter client ids and because service account username = 'service-account-' prefix + client ID, the results were sometimes correct and sometimes not

      Show
      Service accounts can be filtered by Client ID on HCC Console -> User Access -> Groups -> {group} -> Service accounts tab via API GET /groups/{uuid}/principals/?principal_type=service-account&principal_username=<your_filter_char(s)> create a group with at least 2 service account based principals check that service accounts are filtered correctly with value that contains   service-account-  prefix e.g.: full service account username  principal_username=service-account-77cfb7b0-ebaf-013c-5886-6aa2427b506a partial service account username  principal_username=service-account-77 the filtering is done based on the service account username stored in the database with value that doesn't contain this prefix e.g.: single-character filtering  principal_username=c multiple-character filtering  principal_username=cf the filtering is done based on the service account client id stored in the database note: the incorrect filtering was caused by using usernames to filter client ids and because service account username = 'service-account-' prefix + client ID , the results were sometimes correct and sometimes not
    • Unset
    • No
    • Access & Management Sprint 87, Access & Management Sprint 88

      Service Account BUG
      Hybrid Cloud Console

      https://console.stage.redhat.com/iam/user-access/groups?page=1&per_page=50

      Groups > select group name > Service accounts

      Filter by client ID

      Client ID:  e2d0c5bf-3442-4fc5-be51-f010a10cb668

      Error found:

      Client ID appears on the filter result list, though it contains no matching character

      Single-character filtering shows "a" through "f" work as expected (hex characters in Client ID)

      Characters "g" through "m" return No Results Found as expected.

      Characters that are not in Client ID show as a filter match: 
      n, o, r, s, t, u, v

      Example: Attachments show Group with Service Account page (image) and error with Group Filter on "r" (image)

              pcihalov@redhat.com Petra Cihalova
              spank@redhat.com Spank McCoy
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: