Returns whether this user is a superuser.
(&self)
| 127 | |
| 128 | /// Returns whether this user is a superuser. |
| 129 | pub fn is_superuser(&self) -> bool { |
| 130 | matches!(self.kind(), UserKind::Superuser) |
| 131 | } |
| 132 | |
| 133 | /// Returns whether this is user is the `mz_system` user. |
| 134 | pub fn is_system_user(&self) -> bool { |
no outgoing calls
no test coverage detected