getDownloadURL
function fails in emulator mode if storage rules are not allowed
#1547
Labels
getDownloadURL
function fails in emulator mode if storage rules are not allowed
#1547
Related issues
[REQUIRED] Version info
node: v20.10.0
firebase-functions: 4.8.0
firebase-tools: 13.3.1
firebase-admin: 12.0.0
[REQUIRED] Test case
functions/src/index.ts
storage.rules
[REQUIRED] Steps to reproduce
functions/src/index.ts
andstorage.rules
respectively.firebase emulators:start
uploadFile
function using postman or whateverstorage.rules
to allow all paths (i.e.allow read, write: if true;
)[REQUIRED] Expected behavior
As cloud functions don't rely on and basically bypass the
firestore.rules
,database.rules
andstorage.rules
, a download url should be fetched no matter what thestorage.rules
are set to.[REQUIRED] Actual behavior
Were you able to successfully deploy your functions?
Yes
The text was updated successfully, but these errors were encountered: