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 #1080 from zalando/update-check
Browse files Browse the repository at this point in the history
Check old authorization attributes when updating
  • Loading branch information
ferbncode authored Aug 9, 2019
2 parents f6e1b2e + cb844a5 commit 44fd514
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public void validateAuthorization(final Resource oldValue, final Resource newVal
"Changing authorization object to `null` is not possible due to existing one");
}

if (oldAuth != null && oldAuth.equals(newAuth)) {
if (oldAuth != null) {
return;
}

Expand Down

0 comments on commit 44fd514

Please sign in to comment.