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

Remove Principal Check in Audit Log Model

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • No

      We need to determine if the principal check in the audit log model at this location is necessary.

      This check causes issues in the development environment or when custom data is populated, particularly when the user is not yet created in the database.

       

      Current Problem:

      • The principal check leads to issues when the performance team runs their script, which first creates roles and then principals. This sequence causes errors as the principal is not found.
        • Alternative is to discuss with the performance team to understand the sequence of their script and explore the possibility of changing the order to create principals before roles.
      • There is a possibility that the principal existence check is already being handled elsewhere in the codebase.

       

      Proposed Solution:

      Consider bypassing the principal check by directly using the username and ID from the request.

       

       

              rh-ee-edong Ellen Dong
              lpichler@redhat.com Libor Pichler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: