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

[fix](auth)Fix some issues with incorrect permission verification #39726

Merged
merged 4 commits into from
Aug 28, 2024

Conversation

zddr
Copy link
Contributor

@zddr zddr commented Aug 21, 2024

  • show columns do not have permission to check
  • show sync jobdo not have permission to check
  • Show data from db.table should be the permission to determine the table, not the admin permission
  • users with grant permission should not see all processes through 'SHOW PROCESS LIST'
  • show tablet storage formatfix permission error prompt

cases will be added uniformly in other PRs

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@zddr
Copy link
Contributor Author

zddr commented Aug 21, 2024

run buildall

@doris-robot
Copy link

TPC-H: Total hot run time: 38777 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 3cfa635fd8622130903cb5d4c475040ff7e35b0b, data reload: false

------ Round 1 ----------------------------------
q1	17995	4450	4303	4303
q2	2061	209	205	205
q3	11912	1015	1075	1015
q4	10544	771	768	768
q5	7799	2795	2828	2795
q6	268	161	161	161
q7	1019	662	662	662
q8	9582	2093	2144	2093
q9	8821	6601	6577	6577
q10	7074	2283	2256	2256
q11	503	261	262	261
q12	410	252	251	251
q13	19180	3012	3289	3012
q14	317	261	266	261
q15	557	522	533	522
q16	545	425	417	417
q17	994	667	786	667
q18	8051	7282	7215	7215
q19	7276	1173	1137	1137
q20	1285	370	369	369
q21	4530	3004	2819	2819
q22	1115	1011	1031	1011
Total cold run time: 121838 ms
Total hot run time: 38777 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4523	4340	4316	4316
q2	403	308	311	308
q3	2958	2800	2790	2790
q4	2004	1753	1716	1716
q5	5746	5672	5670	5670
q6	241	155	159	155
q7	2149	1826	1849	1826
q8	3297	3453	3492	3453
q9	8776	8782	8945	8782
q10	3493	3267	3304	3267
q11	640	526	531	526
q12	830	665	687	665
q13	16313	3063	3204	3063
q14	339	305	312	305
q15	576	535	528	528
q16	532	473	471	471
q17	1866	1536	1524	1524
q18	8391	7838	7610	7610
q19	9606	1672	1604	1604
q20	2136	1922	1886	1886
q21	13730	5307	5327	5307
q22	1157	1053	1049	1049
Total cold run time: 89706 ms
Total hot run time: 56821 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 196845 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit 3cfa635fd8622130903cb5d4c475040ff7e35b0b, data reload: false

query1	1291	904	878	878
query2	6633	2060	1917	1917
query3	10614	3842	3795	3795
query4	58244	23935	23405	23405
query5	6169	720	695	695
query6	528	192	199	192
query7	6453	323	319	319
query8	477	377	373	373
query9	9329	2533	2510	2510
query10	617	363	339	339
query11	18955	15190	15410	15190
query12	220	129	134	129
query13	1654	469	443	443
query14	12009	7191	7686	7191
query15	271	199	201	199
query16	7871	559	546	546
query17	1215	686	687	686
query18	2132	361	353	353
query19	289	175	178	175
query20	147	142	141	141
query21	248	155	144	144
query22	4384	4339	4279	4279
query23	34375	33855	33786	33786
query24	5667	3089	3039	3039
query25	590	442	467	442
query26	740	194	184	184
query27	1843	305	322	305
query28	3966	2150	2111	2111
query29	780	448	448	448
query30	219	185	179	179
query31	1037	853	798	798
query32	118	79	79	79
query33	572	368	349	349
query34	887	518	514	514
query35	907	766	768	766
query36	1061	958	971	958
query37	159	101	107	101
query38	4012	3900	3868	3868
query39	1544	1497	1473	1473
query40	236	160	163	160
query41	143	139	137	137
query42	138	120	121	120
query43	541	509	517	509
query44	1138	791	788	788
query45	228	197	196	196
query46	1133	802	783	783
query47	1898	1805	1831	1805
query48	421	330	342	330
query49	919	593	587	587
query50	876	486	486	486
query51	7175	6981	7027	6981
query52	126	107	108	107
query53	308	226	232	226
query54	619	506	494	494
query55	92	97	91	91
query56	332	321	311	311
query57	1196	1136	1143	1136
query58	302	305	314	305
query59	3077	2862	2855	2855
query60	350	355	331	331
query61	146	148	156	148
query62	789	712	699	699
query63	269	231	228	228
query64	4252	2374	1858	1858
query65	3298	3194	3190	3190
query66	1051	684	679	679
query67	15324	15201	15047	15047
query68	7359	591	612	591
query69	650	454	347	347
query70	1279	1224	1159	1159
query71	564	321	333	321
query72	6716	2320	2112	2112
query73	1011	359	363	359
query74	9126	8807	8904	8807
query75	3871	2735	2673	2673
query76	4146	1022	1062	1022
query77	849	456	448	448
query78	10905	9593	9105	9105
query79	9324	569	577	569
query80	1037	620	684	620
query81	569	270	263	263
query82	746	162	157	157
query83	351	215	218	215
query84	285	98	99	98
query85	804	357	356	356
query86	400	290	332	290
query87	4385	4171	4181	4171
query88	4238	2465	2466	2465
query89	529	330	329	329
query90	1987	234	237	234
query91	157	131	126	126
query92	90	76	76	76
query93	4757	563	553	553
query94	722	313	328	313
query95	396	300	301	300
query96	645	292	289	289
query97	3204	3122	3080	3080
query98	249	270	226	226
query99	1643	1317	1285	1285
Total cold run time: 337598 ms
Total hot run time: 196845 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 31.18 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 3cfa635fd8622130903cb5d4c475040ff7e35b0b, data reload: false

query1	0.05	0.05	0.04
query2	0.07	0.04	0.05
query3	0.23	0.05	0.06
query4	1.66	0.08	0.08
query5	0.52	0.52	0.49
query6	1.13	0.72	0.72
query7	0.02	0.01	0.02
query8	0.06	0.05	0.05
query9	0.54	0.49	0.50
query10	0.53	0.55	0.55
query11	0.17	0.13	0.12
query12	0.15	0.13	0.13
query13	0.62	0.60	0.59
query14	0.79	0.80	0.80
query15	0.84	0.84	0.82
query16	0.38	0.38	0.38
query17	1.05	1.05	1.07
query18	0.23	0.22	0.23
query19	1.90	1.72	1.73
query20	0.01	0.02	0.01
query21	15.40	0.67	0.65
query22	4.41	6.74	1.77
query23	18.21	1.46	1.36
query24	2.19	0.23	0.23
query25	0.15	0.08	0.09
query26	0.27	0.19	0.18
query27	0.08	0.08	0.08
query28	13.23	1.04	1.00
query29	12.60	3.46	3.41
query30	0.38	0.20	0.20
query31	2.80	0.41	0.41
query32	3.26	0.49	0.49
query33	2.96	3.00	2.97
query34	16.83	4.42	4.35
query35	4.41	4.41	4.47
query36	0.68	0.49	0.52
query37	0.21	0.17	0.18
query38	0.17	0.17	0.18
query39	0.06	0.05	0.05
query40	0.19	0.16	0.15
query41	0.12	0.07	0.07
query42	0.08	0.07	0.08
query43	0.07	0.06	0.06
Total cold run time: 109.71 s
Total hot run time: 31.18 s

@zddr
Copy link
Contributor Author

zddr commented Aug 23, 2024

run buildall

@doris-robot
Copy link

TPC-H: Total hot run time: 37905 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 3cfa635fd8622130903cb5d4c475040ff7e35b0b, data reload: false

------ Round 1 ----------------------------------
q1	6036	4342	4287	4287
q2	401	185	177	177
q3	1393	1176	1070	1070
q4	1003	782	828	782
q5	2830	2816	2773	2773
q6	224	137	136	136
q7	958	622	589	589
q8	1974	2075	2259	2075
q9	6574	6506	6524	6506
q10	2537	2152	2214	2152
q11	365	242	242	242
q12	381	223	221	221
q13	16837	3059	3047	3047
q14	280	239	244	239
q15	522	482	486	482
q16	479	382	379	379
q17	948	700	636	636
q18	7587	6887	6873	6873
q19	1192	1076	1001	1001
q20	547	344	336	336
q21	7026	2955	2892	2892
q22	1108	1036	1010	1010
Total cold run time: 61202 ms
Total hot run time: 37905 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4334	4310	4255	4255
q2	359	279	273	273
q3	2918	2670	2641	2641
q4	1912	1610	1613	1610
q5	5357	5398	5381	5381
q6	220	128	131	128
q7	2103	1738	1723	1723
q8	3202	3343	3318	3318
q9	8447	8408	8455	8408
q10	3400	3189	3164	3164
q11	592	501	516	501
q12	800	593	615	593
q13	3573	3051	3034	3034
q14	301	285	284	284
q15	539	491	494	491
q16	470	414	428	414
q17	1787	1506	1462	1462
q18	7653	7451	7447	7447
q19	1647	1582	1497	1497
q20	2041	1799	1796	1796
q21	5311	5116	5088	5088
q22	1129	1025	1035	1025
Total cold run time: 58095 ms
Total hot run time: 54533 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 185813 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit 3cfa635fd8622130903cb5d4c475040ff7e35b0b, data reload: false

query1	907	385	357	357
query2	6450	1877	1859	1859
query3	6644	209	218	209
query4	34196	23403	22981	22981
query5	4163	501	509	501
query6	255	163	178	163
query7	4592	292	286	286
query8	271	218	215	215
query9	8611	2473	2465	2465
query10	440	279	271	271
query11	17773	14901	15062	14901
query12	147	101	99	99
query13	1622	388	377	377
query14	9837	7241	7201	7201
query15	257	166	173	166
query16	8006	455	466	455
query17	1656	560	539	539
query18	2034	286	287	286
query19	321	143	142	142
query20	118	109	112	109
query21	212	103	103	103
query22	4208	4053	3968	3968
query23	34206	33273	33167	33167
query24	11147	2828	2787	2787
query25	607	385	376	376
query26	1351	153	173	153
query27	2765	283	269	269
query28	7548	2066	2028	2028
query29	840	405	402	402
query30	313	156	149	149
query31	990	763	761	761
query32	100	55	61	55
query33	753	293	283	283
query34	985	466	471	466
query35	846	712	731	712
query36	1095	937	925	925
query37	155	85	82	82
query38	4000	3912	3890	3890
query39	1420	1360	1371	1360
query40	268	118	116	116
query41	48	45	44	44
query42	117	95	97	95
query43	516	471	475	471
query44	1249	735	746	735
query45	206	164	172	164
query46	1088	768	763	763
query47	1847	1784	1760	1760
query48	381	294	288	288
query49	1028	421	424	421
query50	796	421	405	405
query51	7168	6944	6950	6944
query52	98	85	85	85
query53	254	181	177	177
query54	861	460	441	441
query55	76	74	78	74
query56	274	255	256	255
query57	1167	1071	1070	1070
query58	233	213	241	213
query59	2913	2708	2749	2708
query60	284	273	261	261
query61	102	130	101	101
query62	821	663	671	663
query63	219	186	180	180
query64	5397	2296	1701	1701
query65	3246	3160	3215	3160
query66	1388	344	331	331
query67	15658	15145	15267	15145
query68	4089	584	563	563
query69	420	283	292	283
query70	1219	1056	1131	1056
query71	338	287	276	276
query72	6436	2300	2022	2022
query73	750	313	320	313
query74	9180	8903	8742	8742
query75	3450	2720	2701	2701
query76	2407	954	968	954
query77	493	321	317	317
query78	9607	10131	9235	9235
query79	1037	540	535	535
query80	698	500	489	489
query81	538	233	224	224
query82	224	132	136	132
query83	173	152	150	150
query84	233	83	79	79
query85	770	270	274	270
query86	292	297	289	289
query87	4483	4351	4168	4168
query88	2997	2275	2297	2275
query89	397	303	284	284
query90	1990	198	194	194
query91	125	98	165	98
query92	61	48	53	48
query93	1036	538	538	538
query94	868	265	298	265
query95	367	260	260	260
query96	584	267	264	264
query97	3165	3035	3051	3035
query98	220	201	194	194
query99	1487	1271	1276	1271
Total cold run time: 289678 ms
Total hot run time: 185813 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 30.35 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 3cfa635fd8622130903cb5d4c475040ff7e35b0b, data reload: false

query1	0.04	0.04	0.04
query2	0.07	0.04	0.04
query3	0.23	0.05	0.05
query4	1.68	0.07	0.07
query5	0.50	0.50	0.48
query6	1.14	0.74	0.74
query7	0.02	0.01	0.02
query8	0.05	0.05	0.05
query9	0.54	0.47	0.48
query10	0.53	0.53	0.54
query11	0.15	0.12	0.11
query12	0.15	0.13	0.12
query13	0.62	0.59	0.60
query14	0.76	0.81	0.78
query15	0.89	0.82	0.82
query16	0.37	0.36	0.38
query17	0.98	0.98	1.07
query18	0.21	0.21	0.21
query19	1.88	1.76	1.71
query20	0.01	0.00	0.01
query21	15.40	0.65	0.65
query22	4.30	7.94	1.51
query23	18.38	1.47	1.34
query24	2.14	0.21	0.22
query25	0.14	0.09	0.08
query26	0.28	0.18	0.18
query27	0.08	0.09	0.07
query28	13.33	1.06	1.00
query29	12.64	3.40	3.40
query30	0.24	0.05	0.05
query31	2.87	0.40	0.40
query32	3.25	0.49	0.49
query33	2.93	3.01	3.01
query34	17.00	4.33	4.34
query35	4.41	4.40	4.47
query36	0.66	0.47	0.49
query37	0.20	0.15	0.16
query38	0.16	0.15	0.15
query39	0.05	0.04	0.04
query40	0.16	0.12	0.13
query41	0.09	0.06	0.05
query42	0.05	0.05	0.05
query43	0.04	0.04	0.04
Total cold run time: 109.62 s
Total hot run time: 30.35 s

Copy link
Contributor

@morrySnow morrySnow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we add some cases?

@zddr
Copy link
Contributor Author

zddr commented Aug 23, 2024

cases will be added uniformly in other PRs

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Aug 23, 2024
Copy link
Contributor

PR approved by at least one committer and no changes requested.

Copy link
Contributor

PR approved by anyone and no changes requested.

@zddr
Copy link
Contributor Author

zddr commented Aug 23, 2024

run buildall

@doris-robot
Copy link

TPC-H: Total hot run time: 38215 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 25d54d2c5874d0bc2b97d05d20e3ecd79b5fec96, data reload: false

------ Round 1 ----------------------------------
q1	17628	4920	4301	4301
q2	2024	188	175	175
q3	11796	974	1118	974
q4	10514	728	694	694
q5	7766	2822	2801	2801
q6	226	138	137	137
q7	972	627	605	605
q8	9326	2082	2078	2078
q9	7015	6520	6571	6520
q10	6988	2204	2228	2204
q11	471	246	244	244
q12	400	232	237	232
q13	17762	3064	3055	3055
q14	277	246	239	239
q15	523	484	491	484
q16	494	406	402	402
q17	968	669	714	669
q18	7341	6892	6837	6837
q19	1394	1016	1065	1016
q20	694	344	329	329
q21	4011	3290	3207	3207
q22	1088	1035	1012	1012
Total cold run time: 109678 ms
Total hot run time: 38215 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4366	4295	4324	4295
q2	374	280	272	272
q3	2922	2706	2700	2700
q4	1928	1718	1650	1650
q5	5647	5706	5732	5706
q6	234	142	134	134
q7	2223	1900	1817	1817
q8	3288	3461	3479	3461
q9	8809	8825	8825	8825
q10	3543	3426	3423	3423
q11	619	512	514	512
q12	859	659	672	659
q13	14648	3186	3216	3186
q14	325	290	281	281
q15	546	507	484	484
q16	500	472	446	446
q17	1821	1536	1585	1536
q18	8050	7811	8013	7811
q19	1720	1546	1654	1546
q20	2175	1902	1900	1900
q21	5840	5500	5408	5408
q22	1134	1075	1008	1008
Total cold run time: 71571 ms
Total hot run time: 57060 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 193769 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit 25d54d2c5874d0bc2b97d05d20e3ecd79b5fec96, data reload: false

query1	1273	888	868	868
query2	6318	1873	1855	1855
query3	10584	3912	3959	3912
query4	59260	24713	23138	23138
query5	5422	503	509	503
query6	405	167	164	164
query7	5769	298	297	297
query8	288	210	220	210
query9	8824	2494	2482	2482
query10	488	294	281	281
query11	18377	15214	15306	15214
query12	160	99	99	99
query13	1575	380	376	376
query14	11208	7555	7914	7555
query15	230	167	165	165
query16	7130	493	501	493
query17	1121	580	560	560
query18	1717	311	294	294
query19	306	152	151	151
query20	120	107	113	107
query21	201	101	102	101
query22	4593	4275	4421	4275
query23	34268	33907	33393	33393
query24	6022	2910	2918	2910
query25	528	380	387	380
query26	690	161	154	154
query27	1787	288	284	284
query28	3709	2072	2053	2053
query29	673	415	415	415
query30	233	152	156	152
query31	935	768	758	758
query32	85	54	57	54
query33	446	325	285	285
query34	852	475	501	475
query35	837	710	735	710
query36	1075	956	927	927
query37	139	91	82	82
query38	3939	3907	3883	3883
query39	1447	1391	1372	1372
query40	203	120	118	118
query41	46	44	47	44
query42	122	103	99	99
query43	513	464	477	464
query44	1114	750	752	750
query45	192	163	165	163
query46	1088	773	773	773
query47	1866	1784	1814	1784
query48	375	296	287	287
query49	776	450	463	450
query50	830	447	423	423
query51	7222	7043	7085	7043
query52	101	92	94	92
query53	258	187	189	187
query54	568	469	468	468
query55	78	78	79	78
query56	302	281	280	280
query57	1215	1096	1061	1061
query58	237	236	233	233
query59	3158	2840	2958	2840
query60	318	285	303	285
query61	124	121	120	120
query62	750	641	661	641
query63	228	194	191	191
query64	4210	2397	1830	1830
query65	3235	3181	3165	3165
query66	627	355	355	355
query67	15526	15169	15293	15169
query68	3401	581	595	581
query69	412	287	289	287
query70	1180	1148	1135	1135
query71	384	376	286	286
query72	6156	2334	2095	2095
query73	759	322	326	322
query74	9290	8972	8832	8832
query75	3353	2713	2688	2688
query76	1500	1008	999	999
query77	555	370	342	342
query78	10675	10541	10104	10104
query79	1167	570	559	559
query80	818	551	516	516
query81	570	229	229	229
query82	294	142	135	135
query83	198	150	151	150
query84	265	80	80	80
query85	703	299	288	288
query86	382	297	269	269
query87	4301	4244	4242	4242
query88	3320	2279	2349	2279
query89	381	296	294	294
query90	2135	205	202	202
query91	127	104	100	100
query92	66	54	53	53
query93	1081	559	554	554
query94	749	306	295	295
query95	364	272	273	272
query96	594	271	273	271
query97	3201	3077	3074	3074
query98	218	204	200	200
query99	1608	1264	1256	1256
Total cold run time: 308523 ms
Total hot run time: 193769 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 31.12 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 25d54d2c5874d0bc2b97d05d20e3ecd79b5fec96, data reload: false

query1	0.04	0.04	0.05
query2	0.07	0.04	0.04
query3	0.22	0.05	0.05
query4	1.67	0.08	0.10
query5	0.50	0.50	0.50
query6	1.13	0.74	0.73
query7	0.02	0.01	0.01
query8	0.06	0.04	0.04
query9	0.54	0.49	0.48
query10	0.54	0.55	0.54
query11	0.16	0.11	0.11
query12	0.16	0.12	0.13
query13	0.60	0.59	0.58
query14	0.78	0.80	0.81
query15	0.85	0.81	0.81
query16	0.38	0.38	0.36
query17	1.03	1.01	0.99
query18	0.22	0.20	0.19
query19	1.87	1.80	1.83
query20	0.01	0.01	0.01
query21	15.38	0.66	0.66
query22	4.33	6.70	2.17
query23	18.30	1.46	1.36
query24	2.07	0.23	0.22
query25	0.14	0.08	0.09
query26	0.27	0.18	0.18
query27	0.07	0.08	0.09
query28	13.32	1.02	0.99
query29	12.65	3.31	3.35
query30	0.24	0.05	0.06
query31	2.91	0.41	0.38
query32	3.26	0.48	0.47
query33	2.98	3.01	3.02
query34	17.03	4.41	4.40
query35	4.47	4.41	4.42
query36	0.66	0.46	0.48
query37	0.19	0.16	0.16
query38	0.17	0.16	0.15
query39	0.05	0.04	0.04
query40	0.17	0.13	0.13
query41	0.09	0.04	0.05
query42	0.06	0.05	0.05
query43	0.05	0.04	0.04
Total cold run time: 109.71 s
Total hot run time: 31.12 s

@morrySnow
Copy link
Contributor

run feut

Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@morningman morningman merged commit 603d1e0 into apache:master Aug 28, 2024
27 of 28 checks passed
dataroaring pushed a commit that referenced this pull request Sep 3, 2024
…9726)

- `show columns` do not have permission to check
- `show sync job`do not have permission to check
- `Show data from db.table` should be the permission to determine the
table, not the admin permission
- users with grant permission should not see all processes through 'SHOW
PROCESS LIST'
- `show tablet storage format`fix permission error prompt

cases will be added uniformly in other PRs
zddr added a commit to zddr/incubator-doris that referenced this pull request Sep 5, 2024
…ache#39726)

- `show columns` do not have permission to check
- `show sync job`do not have permission to check
- `Show data from db.table` should be the permission to determine the
table, not the admin permission
- users with grant permission should not see all processes through 'SHOW
PROCESS LIST'
- `show tablet storage format`fix permission error prompt

cases will be added uniformly in other PRs
zddr added a commit to zddr/incubator-doris that referenced this pull request Sep 5, 2024
…ache#39726)

- `show columns` do not have permission to check
- `show sync job`do not have permission to check
- `Show data from db.table` should be the permission to determine the
table, not the admin permission
- users with grant permission should not see all processes through 'SHOW
PROCESS LIST'
- `show tablet storage format`fix permission error prompt

cases will be added uniformly in other PRs
morrySnow pushed a commit that referenced this pull request Sep 9, 2024
…39726) (#40412)

pick from master #39726

Due to significant differences, not pick `Show data from db.table should
be the permission to determine the table, not the admin permission`
@yiguolei yiguolei mentioned this pull request Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants