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

Method is_internal

src/sql/src/session/user.rs:107–109  ·  view source on GitHub ↗

Returns whether this is an internal user.

(&self)

Source from the content-addressed store, hash-verified

105impl User {
106 /// Returns whether this is an internal user.
107 pub fn is_internal(&self) -> bool {
108 INTERNAL_USER_NAMES.contains(&self.name)
109 }
110
111 /// Returns whether this user is an admin in an external system.
112 pub fn is_external_admin(&self) -> bool {

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected