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
After #768, we can use set config on TiDB to update configs of TiKV/PD.
Now the privilege of this statement is PrivSuper, which is not appropriate.
We should introduce a new privilege for it.
Describe alternatives you've considered:
No
The text was updated successfully, but these errors were encountered:
if not super privilege, would that user be allowed to change privileged settings like:?
set config security.skip-grant-table = true;
After discussing with @tiancaiamao , we decide to handle security config items especially, which require both SuperPriv and SetConfPriv when modifying.
Allow the modification of skip-grant-table dynamically would become a vulnerability.
Skip grant table is a special config which is used for disaster recovering from user's misoperation, maybe we do not have the necessity to dynamic change this config.
Feature Request
Describe the feature you'd like:
After #768, we can use
set config
on TiDB to update configs of TiKV/PD.Now the privilege of this statement is
PrivSuper
, which is not appropriate.We should introduce a new privilege for it.
Describe alternatives you've considered:
No
The text was updated successfully, but these errors were encountered: