Entitlements merge requestshttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests2024-03-28T08:53:52Zhttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/650Draft: update spring and springboot2024-03-28T08:53:52ZVidyaDharani LokamDraft: update spring and springbootVidyaDharani LokamVidyaDharani Lokamhttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/654Draft: added role information2024-03-27T16:49:49ZDeepa KumariDraft: added role informationhttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/651added roles for register2024-03-22T20:20:55ZRiabokon Stanislav(EPAM)[GCP]added roles for registerRiabokon Stanislav(EPAM)[GCP]Riabokon Stanislav(EPAM)[GCP]https://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/645Draft: Japicketgitlab/m18 m22 deltas entitlements2024-03-19T22:43:07ZJake PickettDraft: Japicketgitlab/m18 m22 deltas entitlementshttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/640Aws upgrade aws lib2024-03-11T15:56:23ZDerek HudsonAws upgrade aws libM23 - Release 0.26Derek HudsonDerek Hudsonhttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/630Versions Bump2024-02-26T01:41:30ZDaniel SchollVersions BumpThis MR bumps versions.This MR bumps versions.Daniel SchollDaniel Schollhttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/627Update lib2024-02-12T18:11:51ZRucha DeshpandeUpdate libUpdate libUpdate libhttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/601Use full URL instead of relative path2024-02-04T22:14:31ZLawrence ChanUse full URL instead of relative pathUse full URL instead of relative pathUse full URL instead of relative pathhttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/625Draft: Initial prototype of check access to groups2024-02-02T22:38:18ZNathan StrelserDraft: Initial prototype of check access to groupshttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/619Get aad groups2024-01-31T01:45:00ZNathan StrelserGet aad groupsNathan StrelserNathan Strelserhttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/621Draft: initial setup to get auth token2024-01-31T00:37:59ZVictoria OuyangDraft: initial setup to get auth tokenVictoria OuyangVictoria Ouyanghttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/620Adding caching for AAD groups2024-01-25T18:20:13ZBhawan PanesarAdding caching for AAD groupsBhawan PanesarBhawan Panesarhttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/616Draft: update java packages2024-01-19T01:36:07ZAnthony Ittiyera vazhappillyDraft: update java packageshttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/576Fixed import statement for AccessDeniedException2023-11-23T05:47:45ZHimanshi GargFixed import statement for AccessDeniedExceptionWe were importing AccessDeniedException from the wrong package. Instead of importing spring's AccessDeniedException, we were importing this exception from **java.nio.file** package. As a result of this, exception handler for this type of...We were importing AccessDeniedException from the wrong package. Instead of importing spring's AccessDeniedException, we were importing this exception from **java.nio.file** package. As a result of this, exception handler for this type of exception was never executed instead exception handler logic for Exception.class was being executed and because of this, we were throwing "**500 Internal Server**" Error instead of "**401 Unauthorized**" exception.
**Excepted**: https://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/blob/master/entitlements-v2-core/src/main/java/org/opengroup/osdu/entitlements/v2/errors/SpringExceptionMapper.java#L73
**Actual**: https://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/blob/master/entitlements-v2-core/src/main/java/org/opengroup/osdu/entitlements/v2/errors/SpringExceptionMapper.java#L77
In this PR, I have fixed the import statement for AccessDeniedException and also added unit test for the same.Himanshi GargHimanshi Garghttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/578Updated error message for invalid data partition id2023-11-23T05:47:17ZHimanshi GargUpdated error message for invalid data partition idIn 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...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#L38Himanshi GargHimanshi Garghttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/577Fixed import statement for AccessDeniedException2023-11-10T06:43:46ZHimanshi GargFixed import statement for AccessDeniedExceptionWe were importing AccessDeniedException from the wrong package. Instead of importing spring's AccessDeniedException, we were importing this exception from **java.nio.file** package. As a result of this, exception handler for this type of...We were importing AccessDeniedException from the wrong package. Instead of importing spring's AccessDeniedException, we were importing this exception from **java.nio.file** package. As a result of this, exception handler for this type of exception was never executed instead exception handler logic for Exception.class was being executed and because of this, we were throwing "**500 Internal Server**" Error instead of "**401 Unauthorized**" exception.
**Excepted**: https://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/blob/master/entitlements-v2-core/src/main/java/org/opengroup/osdu/entitlements/v2/errors/SpringExceptionMapper.java#L73
**Actual**: https://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/blob/master/entitlements-v2-core/src/main/java/org/opengroup/osdu/entitlements/v2/errors/SpringExceptionMapper.java#L77
In this PR, I have fixed the import statement for AccessDeniedException and also added unit test for the same.Himanshi GargHimanshi Garghttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/570Draft: [GONRG-7849] Test system partition pipeline2023-10-19T09:07:26ZDanylo Vanin (EPAM)Draft: [GONRG-7849] Test system partition pipelineDanylo Vanin (EPAM)Danylo Vanin (EPAM)https://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/551Draft: Az check redis connection2023-09-18T06:43:53ZThulasi Dass SubramanianDraft: Az check redis connectionhttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/553Draft: Upgrade snakeyaml to 2.02023-09-12T04:47:56ZOsborn ChenDraft: Upgrade snakeyaml to 2.0https://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/528Fixing vulnerability2023-08-31T05:04:06ZHarsheet ShahFixing vulnerabilityFixing vulenerabilityFixing vulenerabilityHarsheet ShahHarsheet Shah