mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 15:40:01 -06:00
f6707a71dc
This section should be hidded if user object hasn't ipantuserattrs object class. I.e. when trusts are not enabled. Web UI framework already supports hidding of sections if the section contains no visible field. So to achieve it we simply needs to hide the fields. Given that attributelevelrights contains rights only for attributes of current object classes, all of these are regarded as not writable. We can leverage feature of input_widget that it gets hidden when the attribute is not writable and has no value and widget's "hidden_if_empty" is set to true. Thus doing it here. For this to work, it is also required to fix an issue with "ipanthomedirectorydrive" which is optional (in API) but Web UI doesn't offer "empty" ("") value. Adding it here. fixes: https://pagure.io/freeipa/issue/8336 Signed-off-by: Petr Vobornik <pvoborni@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Serhii Tsymbaliuk <stsymbal@redhat.com> |
||
---|---|---|
.. | ||
build | ||
css | ||
doc | ||
images | ||
js | ||
less | ||
src | ||
test | ||
util | ||
favicon.ico | ||
Gruntfile.js | ||
ie.css | ||
index.html | ||
ipa.css | ||
jsl.conf | ||
Makefile.am | ||
package.json | ||
README-LICENSE.txt | ||
reset_password.html | ||
sync_otp.html |