#5662 ID Views: do not allow custom Views for the masters
Closed: fixed by frenaud. Opened by mkosek.

The FreeIPA server itself only supports the default ID View, it does not work with customized views for host groups.

The Web UI/CLI should be extended with a validation, to forbid adding FreeIPA servers to the unsupported views. The validator would avoid user confusion when the custom ID View is not working.


Linked to Bugzilla bug: https://bugzilla.redhat.com/show_bug.cgi?id=1404770

Metadata Update from @mkosek:
- Issue assigned to someone
- Issue set to the milestone: FreeIPA 4.5 backlog

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/4387 (was: 0)
- Issue assigned to frenaud (was: someone)
- Issue close_status updated to: None
- Issue set to the milestone: FreeIPA 4.6.8 (was: FreeIPA 4.5 backlog)

Metadata Update from @frenaud:
- Custom field test_case adjusted to ipatests/test_integration/test_idviews.py

master:

  • e08f7a9ef3df3c345b4c066f974608ad32b57571 idviews: prevent applying to a master
  • 20d601e9c389405f75c78bfb010883f3f23bbdd5 xmlrpc tests: add a test for idview-apply on a master

ipa-4-6:

  • 0d62f3de06520282c9656e13ca07e503f1d48c59 idviews: prevent applying to a master
  • e946b879750d0b316b25902f15b7f5a0a078012e xmlrpc tests: add a test for idview-apply on a master

ipa-4-7:

  • e9bf4edbee28ea28d9d0a0ead834773c46861c4c idviews: prevent applying to a master
  • 454168fadd19e0b613e76266ca62157bf2befe67 xmlrpc tests: add a test for idview-apply on a master

ipa-4-8:

  • 7905891341197cb90faf635cf93ce63ae7a7a38b idviews: prevent applying to a master
  • c37a84628601d369f83546085b7e29be8fe11a59 xmlrpc tests: add a test for idview-apply on a master

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

Metadata Update from @abbra:
- Custom field changelog adjusted to Custom ID views cannot be applied to IPA masters. A check was added to both IPA CLI and Web UI to prevent applying custom ID views to avoid confusion and unintended side-effects.

Metadata