You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IAM | Basic Interrogation Tests Add User Inline Policy Test Cases
1. Add test cases for the user inline policy (will not run in NC)
2. Add clarification in our doc, as it is something that I found during testing - Statement as an array in the policy document.
3. Fix mocha.after to run only in NC deployment.
Signed-off-by: shirady <57721533+shirady@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/design/IamUserInlinePolicy.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,3 +93,10 @@ Check the ability of the user to perform S3 operations according to the IAM poli
93
93
94
94
### Notes:
95
95
The IAM policy (like bucket policy) is read from the account info, which is saved in the endpoint cache. Currently, the cache does not invalidate those changes immediately. For local testing, you may temporarily reduce the cache expiry in `src/sdk/object_sdk.js` by setting `expiry_ms: 1`, but this should never be committed to the repository.
96
+
97
+
We enforce the policy document to have an array in the field of `Statement` even though there are cases of a single item in the array (same behavior as bucket policy document in NooBaa).
0 commit comments