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.
The deleted data is still member of the Sudo Command Group. The API reflects these changes.
The API must not contain that value in order to not be displayed in the data table.
FWIW I was unable to reproduce this on the command-line:
$ ipa sudocmd-add sudocmd1 $ ipa sudocmd-add sudocmd2 $ ipa sudocmd-add sudocmd3 $ ipa sudocmdgrp-add sudocmdgroup $ ipa sudocmdgroup-add-member sudocmdgroup --sudocmds={sudocmd1,sudocmd2,sudocmd3} $ ipa sudocmd-del sudocmd1 $ ipa sudocmdgroup-show sudocmdgroup Sudo Command Group: sudocmdgroup Member Sudo commands: sudocmd2, sudocmd3
Metadata Update from @dhanina: - Issue assigned to dhanina
Thank you for testing Rob, we think this is happening in both old and new webui, will revisit some time in the future.