You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/suites/0_stateless/18_rbac/18_0012_temp_table.result
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
>>>> create or replace database test
6
6
>>>> grant role role1 to owner
7
7
mysql: [Warning] Using a password on the command line interface can be insecure.
8
-
ERROR 1105 (HY000) at line 1: PermissionDenied. Code: 1063, Text = Permission denied: privilege [Create] is required on 'default'.'test'.* for user 'owner'@'%' with roles [role1]. Note: Please ensure that your current role have the appropriate permissions to create a new Warehouse|Database|Table|UDF|Stage|Connection..
8
+
ERROR 1105 (HY000) at line 1: PermissionDenied. Code: 1063, Text = Permission denied: privilege [Create] is required on 'default'.'test'.* for user 'owner'@'%' with roles [role1]. Note: Please ensure that your current role have the appropriate permissions to create a new Warehouse|Database|Table|UDF|Stage|Connection.
9
9
mysql: [Warning] Using a password on the command line interface can be insecure.
Error: APIError: QueryFailed: [1063]Permission denied: privilege [AccessConnection] is required on CONNECTION c2 for user 'b'@'%' with roles [public,role1]. Note: Please ensure that your current role have the appropriate permissions to create a new Warehouse|Database|Table|UDF|Stage|Connection.
47
47
Error: APIError: QueryFailed: [4000]invalid input parameter (fail to get connection_name c2: PermissionDenied. Code: 1063, Text = Permission denied: privilege AccessConnection is required on connection c2 for user 'b'@'%'.
48
48
49
-
50
-
)
49
+
<Backtrace disabled by default. Please use RUST_BACKTRACE=1 to enable> )
51
50
Error: APIError: QueryFailed: [1063]Permission denied: privilege ACCESS CONNECTION is required on connection c2 for user b
52
51
--- revoke access connection from c , thne user c can not drop/use connection c1,3 ---
53
52
Error: APIError: QueryFailed: [4000]invalid input parameter (fail to get connection_name c1: PermissionDenied. Code: 1063, Text = Permission denied: privilege AccessConnection is required on connection c1 for user 'c'@'%'.
54
53
55
-
56
-
)
54
+
<Backtrace disabled by default. Please use RUST_BACKTRACE=1 to enable> )
57
55
Error: APIError: QueryFailed: [4000]invalid input parameter (fail to get connection_name c3: PermissionDenied. Code: 1063, Text = Permission denied: privilege AccessConnection is required on connection c3 for user 'c'@'%'.
58
56
59
-
60
-
)
57
+
<Backtrace disabled by default. Please use RUST_BACKTRACE=1 to enable> )
61
58
Error: APIError: QueryFailed: [1063]Permission denied: privilege ACCESS CONNECTION is required on connection c1 for user c
62
59
Error: APIError: QueryFailed: [1063]Permission denied: privilege ACCESS CONNECTION is required on connection c3 for user c
63
60
Error: APIError: QueryFailed: [1063]Permission denied: privilege [AccessConnection] is required on CONNECTION c1 for user 'c'@'%' with roles [public,role2]. Note: Please ensure that your current role have the appropriate permissions to create a new Warehouse|Database|Table|UDF|Stage|Connection.
64
61
Error: APIError: QueryFailed: [1063]Permission denied: privilege [AccessConnection] is required on CONNECTION c3 for user 'c'@'%' with roles [public,role2]. Note: Please ensure that your current role have the appropriate permissions to create a new Warehouse|Database|Table|UDF|Stage|Connection.
65
62
--- user b can drop/use connection c1,3 ---
66
63
Error: APIError: QueryFailed: [4000]invalid input parameter (fail to get connection_name c1: PermissionDenied. Code: 1063, Text = Permission denied: privilege AccessConnection is required on connection c1 for user 'c'@'%'.
67
64
68
-
69
-
)
65
+
<Backtrace disabled by default. Please use RUST_BACKTRACE=1 to enable> )
70
66
Error: APIError: QueryFailed: [4000]invalid input parameter (fail to get connection_name c3: PermissionDenied. Code: 1063, Text = Permission denied: privilege AccessConnection is required on connection c3 for user 'c'@'%'.
71
67
72
-
73
-
)
68
+
<Backtrace disabled by default. Please use RUST_BACKTRACE=1 to enable> )
74
69
OWNERSHIP c1 NULL ROLE role1
75
70
OWNERSHIP c3 NULL ROLE role1
76
71
CREATE CONNECTION *.* NULL ROLE role1 GRANT CREATE CONNECTION ON *.* TO ROLE `role1`
0 commit comments