Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1082 from zalando/fix-mistake
Browse files Browse the repository at this point in the history
Fix mistake of not checking new authorization at all
  • Loading branch information
ferbncode authored Aug 9, 2019
2 parents 44fd514 + e7de87b commit efa3982
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,6 @@ public void validateAuthorization(final Resource oldValue, final Resource newVal
throw new UnableProcessException(
"Changing authorization object to `null` is not possible due to existing one");
}

if (oldAuth != null) {
return;
}

validateAuthorization(newValue);
}
}

0 comments on commit efa3982

Please sign in to comment.