Skip to content

Commit

Permalink
Merge branch 'PLT-302' into PLT-302-staging
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilbonte21 committed Nov 9, 2023
2 parents 6ad468e + 4d31bf5 commit a22e731
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private void personaPolicyToESDslClauses(List<AtlasEntity> policies,
if (getPolicyActions(policy).contains(ACCESS_READ_PERSONA_METADATA)) {

if (terms.size() + assets.size() + 1 > assetsMaxLimit) {
// For Metadata policies, along with assets we add 1 more clause for connection qualifiedName hence omparing with "assets.size() + 1"
// For Metadata policies, along with assets we add 1 more clause for connection qualifiedName hence comparing with "assets.size() + 1"
throw new AtlasBaseException(AtlasErrorCode.PERSONA_POLICY_ASSETS_LIMIT_EXCEEDED, String.valueOf(assetsMaxLimit), String.valueOf(terms.size()));
}

Expand Down

0 comments on commit a22e731

Please sign in to comment.