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

BitBucket teams support #41

Open
FeodorFitsner opened this issue Oct 29, 2014 · 16 comments
Open

BitBucket teams support #41

FeodorFitsner opened this issue Oct 29, 2014 · 16 comments

Comments

@FeodorFitsner
Copy link
Member

To get the list of team the user can administer:
https://bitbucket.org/api/1.0/user/privileges

{
    "teams": {
        "group_name1": "admin",
        "group_name2": "admin",
        "group_name3": "collaborator"
    }
}

To get the details of specific group:
https://bitbucket.org/api/2.0/teams/{group_name}

{
    "username": "group_name1",
    "website": null,
    "display_name": "Group Name",
    "uuid": "{b1108c16-1111-4444-94e2-3a9ecfd0abab}",
    "links": { ... }
    "created_on": "2014-10-22T06:00:24.855957+00:00",
    "location": null,
    "type": "team"
}
@gep13
Copy link

gep13 commented Oct 29, 2014

@FeodorFitsner interesting. I take it this would mean that those people that are added as team members in BitBucket, would automatically have access to the project in AppVeyor? If so, nice idea! Can the same thing happen with GitHub collaborators?

@FeodorFitsner
Copy link
Member Author

Yes, this is it though you'd have to explicitly map BB team to appropriate Role in AppVeyor.

It's already done for GitHub teams (not collaborators).

@gep13
Copy link

gep13 commented Oct 29, 2014

Ah, so that might be the distinction. Is GitHub teams only available in the premium version of GitHub?

@FeodorFitsner
Copy link
Member Author

Nope, you just need to create an organization (which is allowed for public repos too). Teams "live" inside organization.

@gep13
Copy link

gep13 commented Oct 29, 2014

Nope, you just need to create an organization (which is allowed for public repos too). Teams "live" inside organization.

Interesting! Thanks for the heads up. Getting slightly offtrack here, sorry to de-rail your issue, but is there documentation for setting this up from an AppVeyor standpoint then?

@FeodorFitsner
Copy link
Member Author

It's pretty straightforward - just go to "Team" page in AppVeyor and there is a button "Add/remove GitHub teams". Next time you sign in with GitHub button you'll be added as collaborator with selected role, provided you are the member of GitHub team.

Should add a new KB perhaps...

@gep13
Copy link

gep13 commented Oct 29, 2014

Should add a new KB perhaps...

I think that would be a great addition! In fact, I think I might be trying this out soon, so I can "hopefully" get this added in.

@FeodorFitsner
Copy link
Member Author

That would be awesome ;)
Btw, I'm finishing move of website to a new Jekyll-like engine, so it will be in a public repo soon.

@gep13
Copy link

gep13 commented Oct 30, 2014

Btw, I'm finishing move of website to a new Jekyll-like engine, so it will be in a public repo soon.

Sweet! Looking forward to checking it out!

@djanosik
Copy link

djanosik commented Nov 5, 2014

Will it be possible to access only repositories created by teams? As of now my company has access to my personal private BitBucket repositories.

@FeodorFitsner
Copy link
Member Author

We are thinking about accessing shared repos through teams only.

@jruckert
Copy link

I think shared repos through teams would be great. Any ideas on when this would be likely to be scheduled in?

@wjdavis5
Copy link

We recently moved to BitBucket from GitHub (better pricing model for us). We'd love it if this were implemented so we didnt have to explicitly define accounts in multiple places.

@seburgi
Copy link

seburgi commented Jan 4, 2017

We would also be interested in this feature.

@msj33
Copy link

msj33 commented Apr 5, 2018

+1

1 similar comment
@gerritgoetzen
Copy link

+1

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

No branches or pull requests

8 participants