Returns whether or not this parameter can be modified by a superuser.
(&self, name: &str)
| 1435 | |
| 1436 | /// Returns whether or not this parameter can be modified by a superuser. |
| 1437 | pub fn user_modifiable(&self, name: &str) -> bool { |
| 1438 | SESSION_SYSTEM_VARS.contains_key(UncasedStr::new(name)) |
| 1439 | || name == ENABLE_RBAC_CHECKS.name() |
| 1440 | || name == NETWORK_POLICY.name() |
| 1441 | } |
| 1442 | |
| 1443 | /// Returns a [`Var`] representing the configuration parameter with the |
| 1444 | /// specified name. |
no test coverage detected