freeipa-webui
freeipa-webui copied to clipboard
[Sudo rules][Settings][Who] Provide radio buttons functionality
The configuration of the 'Anyone' and 'Specified Users and Groups' radio buttons should be implemented to match the following behavior:
- When 'Anyone' radio is selected and 'Save' button is clicked, 'usercategory' parameter should change to "all" and all users and user groups should be removed from the lists.
- When 'Specified ...' radio button is selected, the 'usercategory' should be changed to empty string ("").
- At this point, the user can either save the changes or add new users / groups and save afterwards.
This PR depend on this one to be merged: https://github.com/freeipa/freeipa-webui/pull/572
Signed-off-by: Carla Martinez [email protected]