Skip to content

Updated error message for invalid data partition id

In case user provides invalid data partition id, we throw 403 forbidden error with error message "The user is not authorized to perform this action" which can be misleading for the user. This issue has already been fixed in master branch so I just copied the statement to throw this exception from 'master' branch.

https://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/blob/master/entitlements-v2-core/src/main/java/org/opengroup/osdu/entitlements/v2/auth/AuthorizationFilter.java#L38

Merge request reports

Loading