Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhance](auth)The priority of attributes is higher than session variable #47185

Merged
merged 15 commits into from
Feb 13, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
1
  • Loading branch information
zddr committed Jan 21, 2025
commit f148d1db333c3727704255385c08b9cf0a02dfe6
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ suite("test_property_session") {
sql """drop user if exists ${userName}"""
sql """CREATE USER '${userName}' IDENTIFIED BY '${pwd}'"""

//cloud-mode
if (isCloudMode()) {
def clusters = sql " SHOW CLUSTERS; "
assertTrue(!clusters.isEmpty())
def validCluster = clusters[0][0]
sql """GRANT USAGE_PRIV ON CLUSTER `${validCluster}` TO ${userName}""";
}



sql """drop user if exists ${userName}"""
Expand Down
Loading