We should allow user-membership-add to add only existing users. Right now, we can add any name to the group;
# pki -d /opt/rhqa_pki/certs_db -n CA_adminV -c redhat123 user-show u10 UserNotFoundException: User u10 not found # pki -d /opt/rhqa_pki/certs_db -n CA_adminV -c redhat123 user-membership-add u10 Administrators ------------------------------------ Added membership in "Administrators" ------------------------------------ Group: Administrators # pki -d /opt/rhqa_pki/certs_db -n CA_adminV -c redhat123 group-member-find Administrators ----------------- 7 entries matched ----------------- User: caadmin User: CA_adminV User: CA_adminR User: CA_adminE User: CA_adminUTCA User: pkiUser1 User: u10
Metadata Update from @aakkiang: - Issue set to the milestone: UNTRIAGED
This is a duplicate of https://pagure.io/dogtagpki/issue/1420
Metadata Update from @mharmsen: - Custom field feature adjusted to '' - Custom field reviewer adjusted to '' - Custom field version adjusted to '' - Issue close_status updated to: duplicate - Issue status updated to: Closed (was: Open)
Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.
This issue has been cloned to GitHub and is available here: https://github.com/dogtagpki/pki/issues/1589
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.
Login to comment on this ticket.