public function tightenSecurityBolt()
{
static $tightened = false;
if ($tightened) {
// This was already run once.
return;
}
$state = State::instance();
$db = isset($this->db) ? $this->db : \Airship\get_database();
$this->airship_auth = Gears::get('Authentication', $state->keyring['auth.password_key'], $db);
$this->airship_perms = Gears::get('Permissions', $db);
}