Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-1682

rbac-backend: admin metadata and policies still present, when all admins removed

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • remove admin metadata and policies when admins are removed from the configuration
    • Bug Fix
    • RHDH P&B plugins 3253, RHDH P&B plugins 3254

      Corner case bug: admin metadata and policies still present, when all admins removed from application configuration.

      Steps to reprodce:
      1. Set up and execute plugin with admins

      permission:
      enabled: true
      rbac:
      database:
      enabled: true
      admin:
      users:

      • name: user:default/some-user

      1. Remove all admins from configuration:

      permission:
      enabled: true
      rbac:
      database:
      enabled: true
      admin:
      users: []

      3: Check database data: admin group policy for user user:default/some-user
      still present.

              oandriie Aleksander Andriienko
              oandriie Aleksander Andriienko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: