[Freeipa-devel] [PATCH] 767-770 webui: hide applied to hosts tab for Default Trust View

Endi Sukma Dewata edewata at redhat.com
Mon Oct 20 05:51:11 UTC 2014


On 10/17/2014 4:55 PM, Petr Vobornik wrote:
> On 17.10.2014 22:51, Endi Sukma Dewata wrote:
>> On 10/10/2014 6:44 AM, Petr Vobornik wrote:
>>> Web UI part of:
>>>
>>> https://fedorahosted.org/freeipa/ticket/4615
>>>
>>> Patch 767 is a little refactoring needed for $pre_op(as plain object)
>>> work as intended even with instantiated objects + fixes a bug where
>>> Evented objects were not considered a framework object.
>>>
>>> Patch 768 switches tabs so we can hide it later
>>>
>>> Patch 769 hides the tab
>>>
>>> PAtch 770 is not really needed(would like to hear options whether to
>>> include it). It's in effect only if user somehow manages to open
>>> 'Applies to hosts' facet for 'Default trust view'. Maybe redirection
>>> would be better - if we need to act.
>>
>> For some reason I don't see the Default Trust View in the
>> database/CLI/UI with a brand new server installation. Alexander said he
>> will investigate on Monday.
>>
>> The patches seem to be fine, I don't have any objections, feel free to
>> push. The missing Default Trust View is most likely unrelated to UI.
>
> It should be added when you run ipa-adtrust-install.

OK, that fixed it. Some comments:

1. Shouldn't the Default Trust View entry be added during the initial 
installation? Although it's unlikely to conflict with user-defined 
entries, it's kind of strange to add a 'built-in' entry after the 
initial installation.

2. The description field in the Settings page for Default Trust View 
should be read-only since the entry cannot be modified.

3. The Delete action in the Settings page for Default Trust View should 
not exist since the entry cannot be deleted. Probably the Actions 
drop-down list can be disabled.

4. I think this was discussed before, but I'm just not sure what the 
plan is. The current facet tab titles seem to be redundant since we 
already have facet group headers that say "<ID view> overrides/applies 
to". Are we going to change "User/Group ID overrides" into 
"Users/Groups" and "Applied to hosts" into "Hosts"?

No major issue. ACK.

-- 
Endi S. Dewata




More information about the Freeipa-devel mailing list