#1440 Setting HBAC/SUDO category to Anyone doesn't remove users/groups
Closed: Fixed None Opened 12 years ago by edewata.

When the Who category in HBAC/SUDO rules is set to Anyone, the list of users and groups should become empty. Currently that's not the case.

Steps to reproduce:
1. Go to Policy -> HBAC -> HBAC Rules.
2. Open an existing HBAC rule.
3. Make sure there are users/groups under the Who category.
4. Set the category to Anyone.
5. Click Update, the category will revert back to 'Specified Users and Groups' and the users/groups are not deleted.

Similar problem happens in Sudo rules, in step #5 the category is changed to Anyone but the users/groups are not deleted.


We decided that this is ok. In HBAC at least it short circuits and doesn't check users/groups.

In the future we may want to add to UI/CLI to notify that this will remove information.

I talked to Endi about this. The UI already handles this by wiping out the members when the category is set. He noticed that we don't handle the mutual exclusive case for Sudo so I've added that.

Metadata Update from @edewata:
- Issue assigned to rcritten
- Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/01

7 years ago

Login to comment on this ticket.

Metadata