Environment info
- NooBaa Version: 5.23
- Platform: Doesn't matter
Actual behavior
- Currently, the API of
check_external_connection does not contain an enum for the case where the user / service account has permission issue with the list buckets, and it uses this list:
|
properties: { |
|
status: { |
|
type: 'string', |
|
enum: [ |
|
'SUCCESS', |
|
'TIMEOUT', |
|
'INVALID_ENDPOINT', |
|
'INVALID_CREDENTIALS', |
|
'NOT_SUPPORTED', |
|
'TIME_SKEW', |
|
'UNKNOWN_FAILURE' |
|
] |
|
}, |
Note: In GCP and GCP WIF (STS) we return the INVALID_CREDENTIALS status for this case.
Expected behavior
- Expand this list with the enum related to the permissions.
Steps to reproduce
- Create the details for the client to test without permission for list buckets
- Test the API and check the status
More information - Screenshots / Logs / Other output
In this link, you can see the exact steps that were done for GCP WIF (STS) to test the permission and the API of check_external_connection.
Environment info
Actual behavior
check_external_connectiondoes not contain an enum for the case where the user / service account has permission issue with the list buckets, and it uses this list:noobaa-core/src/api/account_api.js
Lines 532 to 544 in 130f763
Note: In GCP and GCP WIF (STS) we return the
INVALID_CREDENTIALSstatus for this case.Expected behavior
Steps to reproduce
More information - Screenshots / Logs / Other output
In this link, you can see the exact steps that were done for GCP WIF (STS) to test the permission and the API of
check_external_connection.