[fix](auth)Disable column auth temporarily (#23295)

- add config `enable_col_auth` to temporarily disable column permissions(because old/new planner has bug when select from view)
- Restore the old optimizer to the previous authentication method
- Support for new optimizer authentication(Legacy issue: When querying the view, the permissions of the base table will be authenticated. The view's own permissions should be authenticated and processed after the new optimizer is improved)
- fix: show grants for non-existent users
- fix: role:`admin` can not grant/revoke to/from user
This commit is contained in:
zhangdong
2023-08-24 23:37:06 +08:00
committed by GitHub
parent 966561a6ed
commit 6a4976921d
15 changed files with 67 additions and 90 deletions

View File

@ -2112,6 +2112,11 @@ public class Config extends ConfigBase {
"Whether to use mysql's bigint type to return Doris's largeint type"})
public static boolean use_mysql_bigint_for_largeint = false;
@ConfField(description = {
"是否开启列权限",
"Whether to enable col auth"})
public static boolean enable_col_auth = false;
@ConfField
public static boolean forbid_running_alter_job = false;