Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

[RDY] google: Support restricting access to a specific group(s) #139

Merged
merged 1 commit into from
Sep 9, 2015

Conversation

jburnham
Copy link
Contributor

This change should be backwards compatible and only when you pass the three new flags will Google group validation happen.

partially implements features requested in #28 ( getting a list of all groups a user is a member of does not seems to be a single api call and would require listing all groups and then for all groups, querying the group to see if the user is in that group )

potential future improvements (not planned for this PR)

  • support orgunits

@jehiah
Copy link
Member

jehiah commented Aug 26, 2015

@jburnham Awesome work. I'll review this in the next day or two and get back to you. I'd also love to know if you are successfully using this in production?

@jburnham
Copy link
Contributor Author

haha, not yet, but there are a few places where it would be useful. Just need to set it up.

@jburnham
Copy link
Contributor Author

"io/ioutil"
"log"
"net/http"
"net/url"
"strings"
"time"

"golang.org/x/oauth2"
Copy link
Member

Choose a reason for hiding this comment

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

@jburnham can you capture these dependencies in the Godeps file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jehiah Added

@jehiah
Copy link
Member

jehiah commented Sep 8, 2015

@jburnham Thanks!!

@markrechler was able to help validate that these changes worked successfully on the Bitly stack so i think we are ready to land this. Can you squash your changes down to a single commit?

@jburnham
Copy link
Contributor Author

jburnham commented Sep 8, 2015

@jehiah Great! I'll squash these down later tonight.

@jburnham jburnham changed the title [RFC] google: Support restricting access to a specific group [RDY] google: Support restricting access to a specific group Sep 9, 2015
@jburnham
Copy link
Contributor Author

jburnham commented Sep 9, 2015

This is ready now. We also found another clear new use-case for this feature that I'm excited to see in place!

@jburnham jburnham changed the title [RDY] google: Support restricting access to a specific group [RDY] google: Support restricting access to a specific group(s) Sep 9, 2015
jehiah added a commit that referenced this pull request Sep 9, 2015
[RDY] google: Support restricting access to a specific group(s)
@jehiah jehiah merged commit 2a784ae into bitly:master Sep 9, 2015
@jehiah jehiah mentioned this pull request Sep 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

2 participants