Skip to content

Commit

Permalink
privilege: update out-of-date comment (pingcap#25946)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustin170506 authored Jul 6, 2021
1 parent a6984c5 commit cffaa8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion privilege/privilege.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ type Manager interface {
// Dynamic privileges are only assignable globally, and have their own grantable attribute.
RequestDynamicVerification(activeRoles []*auth.RoleIdentity, privName string, grantable bool) bool

// RequestDynamicVerification verifies a DYNAMIC privilege for a specific user.
// RequestDynamicVerificationWithUser verifies a DYNAMIC privilege for a specific user.
RequestDynamicVerificationWithUser(privName string, grantable bool, user *auth.UserIdentity) bool

// ConnectionVerification verifies user privilege for connection.
Expand Down

0 comments on commit cffaa8c

Please sign in to comment.