#6784 [RFE] HBAC rule names command rename
Closed: fixed Opened by pvoborni.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1430363

Description of problem:
In the IPA there is a possibility to rename users group with the command line
interface:
     ipa  group-mod test_group --rename="test1_group"
However, hbacrule-mod does not have --rename option for HBAC rules.
Version-Release number of selected component (if applicable):
    IPA 4.4
Why does the customer need this? (List the business requirements here)
Often customer havs internal clients renaming team names, systems etc, so it
would be great if we could rename HBAC rules.
 How would the customer like to achieve this? (List the functional requirements
here)
    ipa hbacrule-mod name --rename="newname"

Metadata Update from @pvoborni:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1430363

Metadata Update from @pvoborni:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1430363

Metadata Update from @stlaz:
- Issue tagged with: rfe

Metadata Update from @stlaz:
- Custom field changelog adjusted to HBAC rules can now be renamed.

ACKed PR which implements this feature exists: https://github.com/freeipa/freeipa/pull/617

Metadata Update from @pvoborni:
- Issue set to the milestone: FreeIPA 4.5.1 (was: FreeIPA 4.7)

This was pushed already.

Fixed upstream
ipa-4-5:
https://pagure.io/freeipa/c/28db6cd40100c6301121e3f82c074624fe53729c
https://pagure.io/freeipa/c/85f2a19f88eef94ff080a42246658f572b5275f4
https://pagure.io/freeipa/c/7d3229bfb88f0fdc559245c8741563faba716106
master:
https://pagure.io/freeipa/c/8e4408e6784f929b4c3d861f0dd509335238e951
https://pagure.io/freeipa/c/55424c8677ba7de464c820afd31260aa4a7678d0
https://pagure.io/freeipa/c/8c1409155e9a9a978d3d763045a84d1eac585dfd

Metadata Update from @stlaz:
- Issue assigned to stlaz

Metadata Update from @stlaz:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata