A tiny app aspiring to dynamically communicate who has access to what.
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.travis.yml
Gemfile
Gemfile.lock
Procfile
README.md
app.rb
services.yml
users.yml

README.md

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.