The config/folder-config.json file maps organization names to Google Drive
folder IDs.
This is used by the
Wizard Browser Extension
to automatically create Spec documents in the correct organization folder.
If no folder is configured for an organization, documents are created in the default folder with a warning message.
To add a new organization folder:
Get the folder ID from the Google Drive URL:
https://drive.google.com/drive/folders/{FOLDER_ID}
Add the mapping to
../../config/folder-config.json:
{
"default": "default-folder-id",
"your-org": "org-specific-folder-id"
}
[!CAUTION] Google Service Account must have "Editor" access to these folders for automatic document creation to work.
The "default" key in the configuration specifies where documents are created
when no organization-specific folder exists.
Documents created in the default folder will include a warning message with
instructions to move them.