+ return $this->admin;
+ }
+
+ /**
+ * Set the current editor context to be an editor.
+ * @return $this
+ */
+ public function asEditor()
+ {
+ if($this->editor === null) {
+ $this->editor = $this->getEditor();
+ }
+ return $this->actingAs($this->editor);
+ }
+
+ /**
+ * Get a user that's not a system user such as the guest user.
+ */
+ public function getNormalUser()
+ {
+ return \BookStack\User::where('system_name', '=', null)->get()->last();