#4615 Views: do not allow assigning hosts to Default Trust View
Closed: Fixed None Opened 9 years ago by mkosek.

Default Trust View is not bound to any host by it's nature. Admin should not be able to apply hosts or host groups to it:

# ipa idview-apply 'Default Trust View' --hosts `hostname`
------------------------------------
Applied ID View "Default Trust View"
------------------------------------
  hosts: ipa.mkosek-fedora20.test
---------------------------------------------
Number of hosts the ID View was applied to: 1
---------------------------------------------

CLI must report error in this case. UI should not even offer Applied to Hosts tab for this View.


master:

  • 49fde3b idviews: error out if appling Default Trust View on hosts

ipa-4-1:

  • 47811d1 idviews: error out if appling Default Trust View on hosts

Web UI:

master:

  • 896d47c webui: make Evented a part of base IPA.object
  • 2e27f1e webui: change order of idview's facet groups
  • d3f46d4 webui: hide applied to hosts tab for Default Trust View
  • 01a9e7e webui: hide (un)apply buttons for Default Trust View

ipa-4-1:

  • b05f395 webui: make Evented a part of base IPA.object
  • 2046470 webui: change order of idview's facet groups
  • 04a3dad webui: hide applied to hosts tab for Default Trust View
  • 3485c6e webui: hide (un)apply buttons for Default Trust View

Metadata Update from @mkosek:
- Issue assigned to pvoborni
- Issue set to the milestone: FreeIPA 4.1

7 years ago

Login to comment on this ticket.

Metadata