Skip to content

Commit

Permalink
Consistent hash load balancing is done according to the method, the c…
Browse files Browse the repository at this point in the history
…reator of auth element is null by tostring method. (#1385)
  • Loading branch information
xuliguov5 authored Mar 10, 2021
1 parent 8bda451 commit 17ac195
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1271,15 +1271,15 @@ public List<HugeBelong> listBelongByGroup(Id group, long limit) {

@Override
public Id createAccess(HugeAccess access) {
verifyUserPermission(HugePermission.WRITE, access);
this.updateCreator(access);
verifyUserPermission(HugePermission.WRITE, access);
return this.authManager.createAccess(access);
}

@Override
public Id updateAccess(HugeAccess access) {
verifyUserPermission(HugePermission.WRITE, access);
this.updateCreator(access);
verifyUserPermission(HugePermission.WRITE, access);
return this.authManager.updateAccess(access);
}

Expand Down

0 comments on commit 17ac195

Please sign in to comment.