We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee065ea commit a1d02e4Copy full SHA for a1d02e4
src/endpoint/s3/s3_rest.js
@@ -319,6 +319,10 @@ async function authorize_request_policy(req) {
319
}
320
321
async function authorize_request_iam_policy(req) {
322
+ const auth_token = req.object_sdk.get_auth_token();
323
+ const is_anon = !(auth_token && auth_token.access_key);
324
+ if (is_anon) return;
325
+
326
const account = req.object_sdk.requesting_account;
327
const is_iam_user = account.owner !== undefined;
328
if (!is_iam_user) return;
0 commit comments