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
Mpt 6538 fix missing bearer token check proceeding with the creation of a cloud account (#30)
* [WIP] Add initial logic for managing DataSources.
Move the service's APIs and files to the API folder.
Add Custom Exceptions to handle DataSources errors
* Add initial check for validating the Bearer Token passed to the POST `modifier/v1/organizations/{org_id/cloud_accounts`.
This prevents the service from returning a 403 with an indication about a not-allowed cloud type instead of processing the wrong authorization as the first thing.
Change the error returned in the case of a not-allowed cloud type to 400
* Rename valide_authorization to check_user_allowed_to_create_cloud_account
Remove the returned response.
Adjust tests
0 commit comments