Skip to content

Commit

Permalink
[fix](auth) after fe restarting, external permissions are lost (#43275)…
Browse files Browse the repository at this point in the history
… (#43339)

pick: #43275
  • Loading branch information
zddr authored Nov 25, 2024
1 parent e8d2918 commit b061b3e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,9 @@ private void grantInternal(UserIdentity userIdent, String role, TablePattern tbl
throws DdlException {
writeLock();
try {
checkTablePatternExist(tblPattern);
if (!isReplay) {
checkTablePatternExist(tblPattern);
}
if (role == null) {
if (!doesUserExist(userIdent)) {
throw new DdlException("user " + userIdent + " does not exist");
Expand Down

0 comments on commit b061b3e

Please sign in to comment.