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

[2024-02-07 User deletion] RBAC Principal Cleanup Job Updates

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • No
    • Access & Management Sprint 81, Access & Management Sprint 82, Access & Management Sprint 83, Access & Management Sprint 84, Access & Management Sprint 85, Access & Management Sprint 86, Access & Management Sprint 87, Access & Management Sprint 88, Access & Management Sprint 89, Access & Management Sprint 90, Access & Management Sprint 91, Access & Management Sprint 92, Access & Management Sprint 93, Access & Management Sprint 94, A&M Tech Debt Q10, Access & Management Sprint 95, Access & Management Sprint 95, Access & Management Sprint 96, Access & Management Sprint 97

      Description

      Background:
      On Wednesday, February 7 RBAC ran its weekly principal cleanup job for its tenants. This job reaches out to the Back Office Proxy (BOP) which reaches out to IT to see if each user is still relevant. If there is data for a user, RBAC does nothing, however if there is a 200 response from BOP and no data for a specific user, RBAC will delete the user from its database, which ultimately deletes its group relations resulting in the user having no permissions. 

      The job that ran on February 7th deleted principals that were still valid which resulted in users being removed from groups/ having no permissions. Since these users were removed, when they reached back out to RBAC, they were recreated under a different ID and treated as new users. 

      To resolve the issue, we are going to disable the principal deletion portion of the principal cleanup job, and add additional logs on the response that is returned from BOP. We are also going to investigate either tying in to the IT UMB for user deletion or updating our job to say that the principal needs to not be present in IT for X amount of weeks before we remove it from RBAC. 

      Open Questions:

      • Should we move to the IT UMB or add additional safety checks to our cleanup job? 

      Follow-ups (sub-tasks):

      • Disable the principal deletion portion of the cleanup task but still log the users eligible for deletion
      • Add additional logs to log the response from BOP 
      • Investigate adding safety checks to our cleanup job (principal must be gone for X amount of weeks before deletion) or moving to IT UMB 

              Unassigned Unassigned
              abaiken Ashley Morgan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: