[x] create a service account user with permissions scoped to (for now) a testing top-level folder in google drive
I assume this is how we'll setup tiny news orgs in google - have a top-level folder like "Tiny News Orgs" and subfolders like "oaklyn" or "local-news" beneath it
[x] create the org folder
[x] create the articles folder
[x] create the pages folder
[x] create an article document for setup and testing purposes
[x] test script creates folders in right place
[x] grants permissions to given email addresses
[x] figure out how best to approach setting these permissions so TNC organization members can manage along with NC staff
To run:
yarn sync-deploy drive organization email1 email2
yarn sync-deploy drive oaklyn-observer tyler@newscatalyst.org # for example
Closes #73
This PR is ready for review now. Note: I've posted the credentials document you'll need in
scripts/
for this to work. This command will create folders/documents in https://drive.google.com/drive/folders/1XuETkXgocX8WRCSez2vkGzt52UEbRMrm but this location is configurable.[x] create a service account user with permissions scoped to (for now) a testing top-level folder in google drive
[x] create the org folder
[x] create the articles folder
[x] create the pages folder
[x] create an article document for setup and testing purposes
[x] test script creates folders in right place
[x] grants permissions to given email addresses
[x] figure out how best to approach setting these permissions so TNC organization members can manage along with NC staff
To run:
yarn sync-deploy drive organization email1 email2
yarn sync-deploy drive oaklyn-observer tyler@newscatalyst.org
# for example