Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

automatically grant access to enabled repos #16

Open
dcramer opened this issue Aug 22, 2017 · 3 comments
Open

automatically grant access to enabled repos #16

dcramer opened this issue Aug 22, 2017 · 3 comments

Comments

@dcramer
Copy link
Member

dcramer commented Aug 22, 2017

if X enables a repo and Y also has access, they need to automatically gain access in various situations

  • on login
  • on repo sync (via cache)
  • background task? (we also want this to explicitly revoke access)
@dcramer
Copy link
Member Author

dcramer commented Aug 24, 2017

we also need to automatically attempt access when they visit a repo

(e.g. I should be able to link everyone to https://zeus.ci/getsentry/zeus/builds/11/diff, and they should get prompted to auth and then gain access)

@dcramer
Copy link
Member Author

dcramer commented Oct 5, 2017

Implemented grants on login, but this'll still need a bit more.

here's what im thinking:

  1. we need to auto revoke access (via cron?)
  2. we need to automatically attempt access when a '404' is hit on repository_base (this ones super tricky)

alternatively we could special case 'open source' repos, and not actually grant access, but also not require access

@jan-auer
Copy link
Member

To revoke access, we could also listen to GitHub webhook events and then update immediately.

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

2 participants