# user who can set roles for other users
$ firebase functions:config:set users.admin="<uid>"
$ firebase functions:config:set environment.region="europe-west2"
// make someone uploader
let store = Ember.Namespace.NAMESPACES[0].__container__.lookup('service:store');
await store.setRole('target-uid', 'uploader');
To deploy it in your own firebase project:
config.js
→ update production environment configfirebase/.firebaserc
→ set project id forproduction
$ npm install
$ cd firebase/functions && npm install
$ FIREBASE=production npm run deploy:all