Skip to content

Commit

Permalink
migrate auth_test to common: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
chaochn47 committed May 13, 2022
1 parent 5fd6910 commit 6ef93e8
Show file tree
Hide file tree
Showing 9 changed files with 1,028 additions and 834 deletions.
2 changes: 2 additions & 0 deletions server/auth/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,8 @@ func (as *authStore) RoleGrantPermission(r *pb.AuthRoleGrantPermissionRequest) (
"granted/updated a permission to a user",
zap.String("user-name", r.Name),
zap.String("permission-name", authpb.Permission_Type_name[int32(r.Perm.PermType)]),
zap.ByteString("key", r.Perm.Key),
zap.ByteString("range-end", r.Perm.RangeEnd),
)
return &pb.AuthRoleGrantPermissionResponse{}, nil
}
Expand Down
Loading

0 comments on commit 6ef93e8

Please sign in to comment.