[Freeipa-devel] [PATCH] 832-850 Stage Users Web UI and its prerequisites

Petr Vobornik pvoborni at redhat.com
Tue May 19 17:22:01 UTC 2015


On 05/19/2015 05:34 PM, thierry bordaz wrote:
> On 05/15/2015 05:38 PM, David Kupka wrote:
>> On 05/15/2015 12:34 PM, Petr Vobornik wrote:
>>> On 05/15/2015 10:59 AM, Petr Vobornik wrote:
>>>> Stage User Web UI is actually just the last four patches(847-850).
>>>>
>>>> I expect that patch 848 - deleter dialog needs some adjustments (was
>>>> discussed offline).
>>>>
>>>> The rest are prerequisites, namely:
>>>> - update of patternfly
>>>> - update navigation code to support multiple entities under one entity
>>>> tree (it broke a "memory feature/bug" of the navigation)
>>>> - support for "facet tabs" in sidebar
>>>>
>>>>
>>>
>>>
>>> Attaching new version of 847-1. The old version did not apply because I
>>> had also a new version of topology plugin UI (will be send later today)
>>> in my git tree.
>> Hi!
>> thanks for patches. Please note that I tested only functionality
>> because I'm not familiar with WebUI internals.
>>
>> I tried your patch set together with Thierry's ULC patches and found
>> following issues:
>>
>> 1) Missing all but 'Delete' actions in single stage user view.
>> 'Enable', 'Disable', 'Unlock', 'Add OTP Token' and 'Rebuild auto
>> membership ' actions are not relevant here.

Fixed in patch 850-1.

>>
>> 2) Missing 'Restore' action in single preserve user view.

Will be added later.

>>
>> 3) When deleting preserved user there are options to preserve or
>> permanently delete user. This doesn't make sense and don't work.
>> Preserved user is always permanently removed.

Fixed in patch  new patch 853

>>
>> 4) Action 'Delete' in single user view deletes the user without asking
>> whether to 'preserve' or 'delete permanently'.

Will be fixed later.

>>
>> *) I would prefer if the choice between 'preserve' and 'permanently
>> delete' in delete dialog was done by directly clicking button not
>> switching 'mode' radio button and then clicking 'delete'.
>>
>> Otherwise everything seems to work well.
> Hello,
>
> Petr this is looking very nice and easy to use. I am not an expert of
> the console, so I run the demo use case and was able to complete all the
> steps (being a stage adminitrator).
> The only remark I have is that when activating a stage user, the message
> mentions 'users' be the CLI actually supports only one user.
> Are you sure you want to activate selected users

You can select multiple users and activate them in UI. It will call 
stageuser_activate for each user.

>
> Except that this is perfect for me.
>
> Thanks a lot
> thierry

In this new patch set there are also new icons.

Instead of http://fontawesome.io/icon/plus/
- restore action has http://fontawesome.io/icon/heart/
- activate action has http://fontawesome.io/icon/check/

There are also new icons which indicates user state(in page header) in 
stage user details page.
- stage users have http://fontawesome.io/icon/wrench/
- preserved users have http://fontawesome.io/icon/trash-o/

-- 
Petr Vobornik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0853-webui-prefer-search-facet-s-deleter-dialog.patch
Type: text/x-patch
Size: 2130 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150519/0b1265e4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0850-1-webui-stageusers-display-page-elements-based-on-user.patch
Type: text/x-patch
Size: 14425 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150519/0b1265e4/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0849-1-webui-update-stageuser-user-pages-based-on-action-in.patch
Type: text/x-patch
Size: 2414 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150519/0b1265e4/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0848-1-webui-extend-user-deleter-dialog-with-permanent-and-.patch
Type: text/x-patch
Size: 2567 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150519/0b1265e4/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0847-2-webui-stageuser-plugin.patch
Type: text/x-patch
Size: 19362 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150519/0b1265e4/attachment-0004.bin>


More information about the Freeipa-devel mailing list