Skip to content

gratipay/access-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gratipay Service Access Dashboard

Build Status

A tiny app aspiring to be a dynamic means of communicating who has access to what in an Open Company. (Origin story: gratipay/gratipay.com#2220)

Usage

export GITHUB_TOKEN=xxxxxxxxx
export HEROKU_API_KEY=xxxxxxxxx
export BALANCED_COOKIE_SESSION_ID=xxxxxxxxxxxx
export BALANCED_MARKETPLACE_ID=xxxxxxxxxxxx
bundle install --path vendor/bundle
bundle exec camping app.rb
curl http://127.0.0.1:3301

Notes

  • Github personal access token must have the permissions public_repo & read:org
  • BALANCED_COOKIE_SESSION_ID was retrieved from the browser inspector tool.
  • users.yml is used to tie Heroku account emails to github usernames, which we use throughout to show access. If there is a Heroku collaborator without an entry in users.yml, we opt to obfuscate that user in the access listing. Otherwise we would only be able to identify them by their Heroku email, which they might consider private.

About

A tiny app aspiring to dynamically communicate who has access to what.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages