Compare commits

...

4 Commits

Author SHA1 Message Date
Maha Benzekri 16b63452e4
fix on space 2023-09-25 14:27:20 +02:00
Maha Benzekri 9f7490627d
Merge branch 'bugfix/CLDSRV-444-id-on-resource-policy' of github.com:scality/cloudserver into bugfix/CLDSRV-444-id-on-resource-policy 2023-09-25 14:21:16 +02:00
Maha Benzekri fbe0100afc
CLDSRV-447:Test add for principal && arsn bump
(cherry picked from commit 294f70d1fbe27e6e4e60cb1861dbfe274da7c5d1)
2023-09-25 14:19:17 +02:00
Maha Benzekri 8045832359
CLDSRV-447:Test add for principal && arsn bump
(cherry picked from commit 294f70d1fbe27e6e4e60cb1861dbfe274da7c5d1)
2023-09-25 14:16:05 +02:00
3 changed files with 9 additions and 3 deletions

View File

@ -20,7 +20,7 @@
"homepage": "https://github.com/scality/S3#readme",
"dependencies": {
"@hapi/joi": "^17.1.0",
"arsenal": "git+https://github.com/scality/arsenal#9ea39c6ed9a06949eedce38868c48772639f5ee3",
"arsenal": "git+https://github.com/scality/arsenal#73c6f41fa3bf52947e2f9a33ac2cb40233309ab5",
"async": "~2.5.0",
"aws-sdk": "2.905.0",
"azure-storage": "^2.1.0",

View File

@ -133,5 +133,11 @@ describe('aws-sdk test put bucket policy', () => {
s3.putBucketPolicy(params, err =>
assertError(err, null, done));
});
it('should allow bucket policy with pincipal arn less than 2048', done => {
const params = getPolicyParams({ key: 'Principal', value: { AWS: 'arn:aws:iam::767707094035:user/user2/TENANT_USER/null/5417be27-8709-48bd-adfb-865ebc58b9f0/1a464be02ea631bdaf2a9ee884434233374a457460e925bf10d9e4665f8fa796/c1d83067-a3f3-41a4-bd45-d6bf47270bd0' } }); // eslint-disable-line max-len
s3.putBucketPolicy(params, err =>
assertError(err, null, done));
});
});
});

View File

@ -488,9 +488,9 @@ arraybuffer.slice@~0.0.7:
optionalDependencies:
ioctl "^2.0.2"
"arsenal@git+https://github.com/scality/arsenal#9ea39c6ed9a06949eedce38868c48772639f5ee3":
"arsenal@git+https://github.com/scality/arsenal#73c6f41fa3bf52947e2f9a33ac2cb40233309ab5":
version "7.10.47"
resolved "git+https://github.com/scality/arsenal#9ea39c6ed9a06949eedce38868c48772639f5ee3"
resolved "git+https://github.com/scality/arsenal#73c6f41fa3bf52947e2f9a33ac2cb40233309ab5"
dependencies:
"@types/async" "^3.2.12"
"@types/utf8" "^3.0.1"