mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
logging RoleGrantPermission key and range end
Signed-off-by: Chao Chen <chaochn@amazon.com>
This commit is contained in:
parent
4f0e92d94c
commit
ccd4efc3b3
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user