Skip to content

Teams API and ID #72

@smacker

Description

@smacker

Currently to implement ACL we use github organizations & teams API.

Teams API is unstable:

Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub support.
https://developer.github.com/v3/orgs/teams/

and it requires team-id instead of name. There is no way to get this ID without api call (though it's simple).

We can write more code to resolve team-id by name (teams can belong to other teams).
But because the API is unstable for the first version I left it as is.

Possible solutions:

  • Workaround with addition api calls for id resolving despite the fact api is unstable
  • Use GraphQL api
  • Use something else to implement ACL instead of github teams
  • You can suggest more!

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestNew feature or request form the usersv1v1 candidates

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions