Github app permission: default_repository_settings


#1

Hello,

I am trying to access the default_repository_settings org property via integration to check the default access for all members in a organization.

https://developer.github.com/v3/orgs/#get-an-organization lists that:
Many Organization response values require the user making the request to be authenticated, an organization owner, and have the admin:org scope authorized.

I am unsure what this means for GitHub Apps. There seems to be no admin:org scope available for GitHub Apps.

Is there something I am missing to access that property or would it be possible to make the property available in the future?

Thanks,
Stephan


#2

Hi @glaubinix,

That endpoint isn’t available for GitHub Apps yet. We’re in the middle of an audit to assess all the endpoints that have not been enabled and enable them.

I haven’t looked at the details of that endpoint yet, but my expectation is that we’d enable this one.

There will not be an “admin:org” scope, since we’re not using oauth scopes for GitHub Apps, but we may need to introduce a new permission that your app would have to ask for.


#3

Hey @kytrinyx,
Is there any update on when this will become available?
Thanks!
Nils


#4

@naderman No, unfortunately. I’ll post an update here when I have an ETA.


#5

This is a pretty big issue for people who are in any way synchronizing org structure cause users don’t get permissions anything like what they expect as we cannot access this setting :confused:


#6

Any plans to actually fix this?


#7

Yes, it’s on the backlog along with all the other things that we plan to fix. I can’t promise any ETA, since it’s a very big backlog with many competing priorities.