diff --git a/includes/Rest/Help/Help.php b/includes/Rest/Help/Help.php index d77febb..8eb7b1a 100644 --- a/includes/Rest/Help/Help.php +++ b/includes/Rest/Help/Help.php @@ -111,4 +111,8 @@ public function disconnect_wemail() { ] ); } + + public function permission( $request ) { + return wemail()->user->can( 'view_wemail' ); + } }