I have an HTML-triggered Cloud Function which has permissions set to allUsers:
When I access the function at the trigger address, it correctly returns an HTML page but gives a Forbidden error on the associated stylesheet:
I don't see any documentation about how to configure permissions on individual folders within a cloud function. The Flask server used by the Python runtime puts all static resources in /static
rather than individual css, img, and js folders - I haven't tried configuring Flask to somewhere else because there's no non-magical reason for the default location to fail.
Note: App Engine has an app.yaml configuration file (https://cloud.google.com/appengine/docs/standard/python3/serving-static-files), but I don't see any equivalent for Cloud Functions.
Any clue how to avoid permission errors in Google's implementation of Flask?