Skip to content

Commit

Permalink
Stop considering PolicyQueryCommand to be authorization-changing, whi…
Browse files Browse the repository at this point in the history
…ch it is not.

Signed-off-by: Yufei Cai <yufei.cai@bosch-si.com>
  • Loading branch information
yufei-cai committed Mar 3, 2020
1 parent 73f4cd8 commit 47df70a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ public Class<PolicyCommand> getCommandClass() {

@Override
public boolean changesAuthorization(final PolicyCommand signal) {
return true;
return signal instanceof PolicyModifyCommand;
}

@Override
Expand Down

0 comments on commit 47df70a

Please sign in to comment.