Returns whether this is an internal user.
(&self)
| 105 | impl 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 { |
no test coverage detected