Ticket was cloned from Red Hat Bugzilla (product Fedora): Bug 1266225
Description of problem:
WebUI and command line support for multiple managers does not exist.
Need to add support for multiple managers at command line and use the correct
widget in UI
Version-Release number of selected component (if applicable):
FreeIPA, version: 4.1.4
Steps to Reproduce:
1. Execute 'ipa user-mod foo --manager=aaa --manager=bbb'
1. Attempt to assign more than one manager to a user
ipa: ERROR: invalid 'manager': Only one value is allowed
No additional fields present to set/select managers
Command completes successfully showing modified user with multiple managers
Prompt appears to allow selecting multiple managers from list similar to the
group membership for users prompt.
Per freenode IRC discussion with users rcrit and ab editing the file at
/usr/lib/python2.7/site-packages/ipalib/plugins/user.py in my environment and
changing line 593 from manager? to manager* fixes the command line issue.
The WebUI should be using the association widget for managers that is the
same as what is used with group membership selection for users.
webUI part is still missing
Given that CLI functionality was already implemented, please rather close this ticket as fixed and open Web UI ticket unless both are completed within 4.3.
Linked to Bugzilla bug: https://bugzilla.redhat.com/show_bug.cgi?id=1288967 (Red Hat Enterprise Linux 7)
See comment:6, feature is ready, we just miss Web UI. For that, separate ticket would be better.
Ticket filed: #5594
Metadata Update from @pvoborni:
- Issue assigned to pvoborni
- Issue set to the milestone: FreeIPA 4.3
to comment on this ticket.