MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / is_superuser

Method is_superuser

src/sql/src/session/user.rs:129–131  ·  view source on GitHub ↗

Returns whether this user is a superuser.

(&self)

Source from the content-addressed store, hash-verified

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 {

Callers 3

filter_requirementsFunction · 0.45
sequence_drop_ownedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected