mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
WebUI: Add support for login for AD users
After login, method user-find --whoami was called which cannot be called for AD users. That method was replaced by ipa whoami command and sequential command according to result of ipa whoami. AD user can now be logged in. AD users have new menu definition which contains only list of IPA users and profile page of AD user - "User ID Override". This commit also fixes several places where IPA.whoami object was used, because its structure was also changed. It now contains two objects. First one is stored in 'metadata' property and stores result from ipa whoami (type of object, command which should be called for showing detailed data about currently logged entity, etc). The second one is stored in 'data' property which stores result of _show command for currently logged entity. https://pagure.io/freeipa/issue/3242 Reviewed-By: Petr Vobornik <pvoborni@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
committed by
Martin Babinsky
parent
2992e3c5d4
commit
ceedc3f7ec
@@ -625,6 +625,7 @@ class i18n_messages(Command):
|
||||
"anchor_label": _("User to override"),
|
||||
"anchor_tooltip": _("Enter trusted or IPA user login. Note: search doesn't list users from trusted domains."),
|
||||
"anchor_tooltip_ad": _("Enter trusted user login."),
|
||||
"profile": _("Profile"),
|
||||
},
|
||||
"idoverridegroup": {
|
||||
"anchor_label": _("Group to override"),
|
||||
|
||||
Reference in New Issue
Block a user