groton-school / knowledgebase

Knowledgebase website
https://kb.groton.org
GNU General Public License v3.0
0 stars 0 forks source link

Why does `acl` need to run separately from `cache`? #31

Open github-actions[bot] opened 1 month ago

github-actions[bot] commented 1 month ago

https://github.com/groton-school/knowledgebase/blob/662b16fce9fb7558783b5c0fe11a501a7c25c9ae/apps/indexer/bin/reset-permissions.ts#L7


import fs from 'fs';
import path from 'path';

// TODO why does reset-permissions need to run separately from upload?
// TODO version of reset-permissions that resets only recent uploads

const defaultIndexPath = path.resolve(__dirname, '../../router/var/index.json');

const options = {
battis commented 1 month ago

Observationally, setting permissions in the same sequence of API calls as uploading a file to GCS seems not to "take."