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

Adding back logic to delete the association request when adding a user to an org (as well as adding the user to the groups) #160

Merged
merged 1 commit into from
Aug 20, 2015

Conversation

tyler-ball
Copy link
Contributor

I think we over-simplified in #146 - adding a user to an org was no longer removing the association request or adding the user to the groups. I think I have fixed this now.

The only reason I caught this was the failures coming from https://github.com/chef/cheffish/blob/17638eec1cee1efd1cd68e4c531d984b5201c214/spec/integration/chef_organization_spec.rb#L145-L153 - cheffish was testing to make sure chef-zero was removing the user from the association when it was added to the org. There was no failing pedant test for this - I need to file a oc-chef-pedant issue to get this covered.

\cc @jkeiser @ssd @marcparadise @andrewjamesbrown

…r to an org (as well as adding the user to the groups)
@jkeiser
Copy link
Contributor

jkeiser commented Aug 20, 2015

Given that the tests for this already exist, 👍! Shipit!

tyler-ball added a commit that referenced this pull request Aug 20, 2015
Adding back logic to delete the association request when adding a user to an org (as well as adding the user to the groups)
@tyler-ball tyler-ball merged commit d08bed6 into master Aug 20, 2015
@tyler-ball tyler-ball deleted the tball/add_user_to_org branch August 20, 2015 01:24
@jkeiser jkeiser added the bug label Sep 2, 2015
@thommay thommay added Type: Bug Does not work as expected. and removed bug labels Jan 24, 2017
@chef chef locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Bug Does not work as expected.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants