Hello Sebastien,

the safest way is to create a WebUI plugin which rewrite definition of radiobutton in deleter dialog. You can find radiobutton code in user.js, line 989 (method IPA.user.create_active_user_del_dialog), where you need to set default_value to true.

Several examples of plugins can be found here: https://pvoborni.fedorapeople.org/plugins/ . I recommend to look at employeenumber or association_search_fix. And here is documentation about plugins: https://pvoborni.fedorapeople.org/doc/#!/guide/Plugins

On 10/20/2016 11:43 AM, Sébastien Julliot wrote:
Hi everyone,

In order to prevent administrators to make mistakes that could have

silly consequences, I would like to set "preserve" as the default selected

action in freeipa's webui.

What do you think would be the best way to achieve this ?

Thank you in advance,

Sebastien Julliot.

Pavel^3 Vomacka

Manage your subscription for the Freeipa-users mailing list:
Go to http://freeipa.org for more info on the project

Reply via email to