Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-151760

Sudo command group API data still contains removed Sudo commands

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • ipa
    • None
    • None
    • None
    • rhel-idm-ipa
    • ssg_idm
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      When a Sudo command is deleted from 'Sudo Commands' page, and it was member of a given Sudo Command Group, the deleted value is still visible in the 'Sudo Command Group' > 'Members' page. Also the data on the API response keeps showing this removed element.

      Steps to Reproduce

      1. Create new Sudo commands: 'sudocmd1', 'sudocmd2', and 'sudocmd3'
      2. Create a new Sudo Command Group: 'sudocmdgroup'
      3. Click on 'sudocmdgroup' > 'Members' page
      4. Assign all the Sudo Commands defined above
      5. Go back to the 'Sudo Commands' page and delete 'sudocmd1'
      6. Go to 'sudocmdgroup' > 'Members' page. The 'sudocmd1' element is still in the table

      Actual behavior

      The deleted data is still member of the Sudo Command Group. The API reflects these changes.

      Expected behavior

      The API must not contain that value in order to not be displayed in the data table.

              frenaud@redhat.com Florence Renaud
              rh-ee-dhanina David Hanina
              Florence Renaud Florence Renaud
              Sudhir Menon Sudhir Menon
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: