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

Ensure we handle orgs with no users #3098

Merged
merged 2 commits into from
Oct 4, 2018
Merged

Conversation

richard-cox
Copy link
Contributor

  • fixes Can't create an org then space #3093
  • When we fetch an org users we check if any user has missing roles collections (there's too many too return inline)
  • During this check we assumed the org will always have users
  • For the case of a new org there are no users

nwmac and others added 2 commits October 2, 2018 14:17
- When we fetch an org we check if any user is missing any roles collection (there's too many too show)
- During this check we assumed the org will always have the users
- For the case of a new org there are no users
@richard-cox richard-cox self-assigned this Oct 2, 2018
@richard-cox richard-cox requested a review from nwmac October 2, 2018 16:26
@cfdreddbot
Copy link

Hey richard-cox!

Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA.

Copy link
Contributor

@nwmac nwmac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codecov
Copy link

codecov bot commented Oct 2, 2018

Codecov Report

Merging #3098 into v2-master will decrease coverage by <.01%.
The diff coverage is 0%.

@@              Coverage Diff              @@
##           v2-master    #3098      +/-   ##
=============================================
- Coverage      70.96%   70.95%   -0.01%     
=============================================
  Files            608      608              
  Lines          26321    26323       +2     
  Branches        5948     5949       +1     
=============================================
  Hits           18678    18678              
- Misses          7643     7645       +2

@KlapTrap KlapTrap merged commit 7961867 into v2-master Oct 4, 2018
@KlapTrap KlapTrap deleted the create-org-space-fails branch October 4, 2018 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't create an org then space
4 participants