Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pki user-membership-add should add only existing users to the group #1981

Open
pki-bot opened this issue Oct 3, 2020 · 6 comments
Open

pki user-membership-add should add only existing users to the group #1981

pki-bot opened this issue Oct 3, 2020 · 6 comments
Milestone

Comments

@pki-bot
Copy link

pki-bot commented Oct 3, 2020

This issue was migrated from Pagure Issue #1420. Originally filed by mharmsen (@mharmsen) on 2015-06-15 17:53:10:


pki user-membership-add should add only existing users to the group

Steps to Reproduce:

# 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

Actual results:

user-membership command adds a non-existing user to a group

Expected results:

user membership command should add only existing users to a group

Additional info:

Same behavior is seen with pki group-member-add

Upstream ticket https://fedorahosted.org/pki/ticket/1024
@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2015-06-15 21:10:17

Per CS/DS meeting of 06/15/2015: 10.3

@pki-bot pki-bot added this to the FUTURE milestone Oct 3, 2020
@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2016-05-04 20:40:50

Per Bug Triage of 05/03/2016: 10.4

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2017-02-27 14:08:53

Metadata Update from @mharmsen:

  • Issue set to the milestone: UNTRIAGED

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2017-03-15 13:02:46

Metadata Update from @mharmsen:

  • Custom field component adjusted to Command-Line Utilities (was: CA)
  • Custom field feature adjusted to ''
  • Custom field proposedmilestone adjusted to 10.3
  • Custom field proposedpriority adjusted to minor
  • Custom field reviewer adjusted to ''
  • Custom field version adjusted to ''
  • Issue close_status updated to: None

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2017-08-30 23:10:59

Metadata Update from @mharmsen:

  • Custom field lowhangingfruit adjusted to vakwetu: X
  • Issue priority set to: minor (was: major)
  • Issue set to the milestone: FUTURE (was: UNTRIAGED)

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2018-04-10 21:22:16

Per 10.5.x/10.6 Triage: FUTURE

edewata: negative case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant