OperationBlobSASPermission
not requiring "r" permission for a number of operations
#2299
Labels
OperationBlobSASPermission
not requiring "r" permission for a number of operations
#2299
Which service(blob, file, queue, table) does this issue concern?
blob (but others might also be wrong)
Which version of the Azurite was used?
master
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
npm
What's the Node.js version?
irrelevant
What problem was encountered?
Per Azure docs calling
GET
on a container requires the SAS token to have "r" permission; however, Azurite code does not enforce that:Azurite/src/blob/authentication/OperationBlobSASPermission.ts
Lines 62 to 69 in caa3429
In fact, it's not enforcing the permission for a lot of operations.
Steps to reproduce the issue?
Have you found a mitigation/solution?
Patching the source code.
The text was updated successfully, but these errors were encountered: