Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Support GitHub organization account #871

Closed
sindresorhus opened this issue Apr 22, 2013 · 52 comments
Closed

Support GitHub organization account #871

sindresorhus opened this issue Apr 22, 2013 · 52 comments

Comments

@sindresorhus
Copy link

We wanted to have a gittip account for @tastejs

// @addyosmani @passy

The $50 bounty on this issue has been claimed at Bountysource.

@sigmavirus24
Copy link
Contributor

So I'm not entirely sure what you're looking for because the issue is a bit vague, but there is this. It lists the public organization members and which ones are on Gittip and which aren't. I suspect the new project/network system that @whit537 is beta-testing will be of interest to you though.

@sindresorhus
Copy link
Author

I'm looking for a way for people to gittip the @tastejs org and not individual members.

@sigmavirus24
Copy link
Contributor

So you should have a look at the discussions on #27 and #449. Note that #449 is closed because funds have been implemented but (as I said above) it is still sort of in beta (as far as I know).

@chadwhitacre
Copy link
Contributor

@sindresorhus Does @tastejs have a Twitter account? That's the easiest way at present to set up a Gittip account for it.

@sindresorhus
Copy link
Author

@chadwhitacre
Copy link
Contributor

@sindresorhus Okay, so you should be able to sign into Gittip using the tastejs Twitter account and stake out tastejs on Gittip. Is that workable?

@sindresorhus
Copy link
Author

@whit537 yay, didn't think of that. Works for now :)

https://www.gittip.com/tastejs/

Though would be nice to be able to connect an GitHub org account to it.

@chadwhitacre
Copy link
Contributor

We decided early on (#4) to only support individual GitHub accounts for the time being. Now seems like a good time to revisit. What API does GitHub give us to authenticate a GitHub org?

@sigmavirus24
Copy link
Contributor

@whit537 absolutely none.

@sigmavirus24
Copy link
Contributor

To be specific, you can get the public members and that is all. You can not use an org to sign in/authenticate someone

@sigmavirus24
Copy link
Contributor

What you might be able to do, is after loading /on/github/:org_name use the results returned for the public members to see if the currently logged in user is a member. If so, then run a secondary check to see what teams they belong to using their authorization. If they have a team with administrative access allow them to apply for administrative privileges on the org on Gittip.

Alternatively, force them to try to administer the organization without doing any pre-emptive checks. With that, you then check if they're a member using their authorization token, and whether they own/operate the organization, otherwise disallow them.

@meatballhat
Copy link

👍 😸

@chadwhitacre
Copy link
Contributor

:P

So @meatballhat and I talked in IRC about this issue. He's asking for it because it would make it easier for him to get his company onto Gittip.

(IRC logging is down right now, sorry. :( )

@meatballhat
Copy link

For the record, I'm moving forward with https://www.gittip.com/ModClothLabs/, but would love to switch to a github org association whenever it becomes available given our primary github org is already visible at https://www.gittip.com/on/github/modcloth/

@meatballhat
Copy link

...

@chadwhitacre
Copy link
Contributor

+1 from @jeresig in IRC.

@chadwhitacre
Copy link
Contributor

+1 from @amorgner in email.

@chadwhitacre
Copy link
Contributor

+1 from @jdorfman on Twitter.

@seanlinsley
Copy link
Contributor

+1 from me :]

@chadwhitacre
Copy link
Contributor

+1 from @alekcac via [email protected]

@seanlinsley
Copy link
Contributor

@whit537 even though this isn't part of the current focus on Infrastructure, would you accept a pull request?

I'm running into a wall right now with Active Admin because we can't use GitHub, and we can't get an appropriate Twitter handle (it's blacklisted because it includes the word 'admin'). Right now we're using @gregbell's account, re-purposed as an open team. This is far from optimal, especially since Greg wants to let Active Admin be managed & owned by the community instead of him keeping that burden.

What do you say? This is a rather timely matter for us.

@chadwhitacre
Copy link
Contributor

@daxter Could you use reverbhq as a workaround?

@gregbell
Copy link

Using a corporate twitter account doesn't really solve the issue. Also, it feels a bit weird for a company to be asking for money from the community for Active Admin. Just my two cents :)

@chadwhitacre
Copy link
Contributor

@gregbell So the problem you're trying to solve is that you want to use Gittip to accept money from the ActiveAdmin community and channel it to the ActiveAdmin developers? Yes? Is having your personal GitHub account attached to Gittip/ActiveAdmin a blocker for using Gittip today?

@gregbell
Copy link

@whit537 Yes, that is correct. And no, it is not a problem for me. That's what we're currently doing. Long term, it would be nice if there was an account specifically for the project instead of me, however it works for the time being.

@daxter is there any specific reason that I'm overlooking?

@seanlinsley
Copy link
Contributor

There's no critical reason why we can't continue what we're doing now. But I'm willing to implement this.

@chadwhitacre
Copy link
Contributor

Cool. Thanks, @gregbell.

@chadwhitacre
Copy link
Contributor

+1 from @cattsmall on Twitter.

@chadwhitacre
Copy link
Contributor

+1 from @prateekdayal @pjc to [email protected].

@chadwhitacre
Copy link
Contributor

+1 from @mbj on Twitter.

@domenkozar
Copy link

+1 from me and gittip.com/kiberpipa

@dahlia
Copy link
Contributor

dahlia commented Dec 21, 2013

+1. Bitbucket also provides team accounts similar to GitHub’s organization accounts. It would be better if both become supported.

@tarsius
Copy link

tarsius commented Dec 25, 2013

I have created the github "user" account @magitians, to create the magit team. That works well enough for me.

I do however think that you should mention in the FAQ that github organisations are not supported. Currently it sais "Team accounts are created just like regular accounts. Just login." (emphasis mine). I didn't expect I could directly use a github organisation, but after reading the FAQ I was wondering whether I was overlooking something obvious.

@retlehs
Copy link

retlehs commented Jan 8, 2014

same here, @tarsius

+1 from me (for the @roots org)

@seanlinsley
Copy link
Contributor

+1 from @ahdinosaur in IRC

@seanlinsley
Copy link
Contributor

...and @duckinator in IRC

@chadwhitacre
Copy link
Contributor

+1 from @dcramer on Twitter.

@galuszkak
Copy link
Contributor

+1 from me

@chadwhitacre
Copy link
Contributor

+1 from @contra via Twitter.

@yocontra
Copy link

yocontra commented Feb 5, 2014

+1000

@chadwhitacre
Copy link
Contributor

+1 from @loopj on Twitter.

@bruceadams
Copy link
Contributor

+1 from @bhaibel on Twitter

@rcross
Copy link

rcross commented Mar 18, 2014

+1 from me. However, I think there is something worth noting

I don't think we need to authenticate against a github org. For me at least, I just want to be able to have a link to our github org url on the gittip account. In a similar way, it would be probably be helpful to have a specific field for a homepage url for team accounts. You could put this in the description field, but it doesn't quite seem as helpful.

This was referenced Apr 21, 2014
@chadwhitacre
Copy link
Contributor

+1 from @bearbin on #2306.

@Changaco
Copy link
Contributor

Closing. This has been implemented in #2326.

Concerns have been expressed about the UI but the core functionality is there. Here's how to use it:

  1. go to your profile page
  2. make sure your account is a team account (your statement should start by "We are" instead of "I am")
  3. click the "+ Add" button for GitHub
  4. enter the name of your GitHub organization account in the modal that appears

Note that you need to be logged in to GitHub as someone who has admin access to the organization account.

@rcross
Copy link

rcross commented May 19, 2014

For anyone updating your profile, just be aware that linking your github org will force you to use your github org avatar for gittip. There doesn't seem to be any way for avatars to be selected from your social accounts, or to choose an alternate one either.

@chadwhitacre
Copy link
Contributor

@rcross I've added a +1 for you to #1253.

@chadwhitacre
Copy link
Contributor

Awesome work, @Changaco, thank you! :-)

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

No branches or pull requests