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
- Create new Sudo commands: 'sudocmd1', 'sudocmd2', and 'sudocmd3'
- Create a new Sudo Command Group: 'sudocmdgroup'
- Click on 'sudocmdgroup' > 'Members' page
- Assign all the Sudo Commands defined above
- Go back to the 'Sudo Commands' page and delete 'sudocmd1'
- 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.
- links to