From 30cec82595fe705c8a809826a5976a0ac6f4bffb Mon Sep 17 00:00:00 2001 From: fsociety Date: Thu, 13 Feb 2025 12:57:13 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20refactor(news):=20remove=20autho?= =?UTF-8?q?rization=20check=20for=20association=20status=20in=20news=20ind?= =?UTF-8?q?ex=20view?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/pages/association/news/index.blade.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/resources/views/pages/association/news/index.blade.php b/resources/views/pages/association/news/index.blade.php index af9a433..1692ade 100644 --- a/resources/views/pages/association/news/index.blade.php +++ b/resources/views/pages/association/news/index.blade.php @@ -35,9 +35,6 @@ on([ 'nostrLoggedIn' => function ($pubkey) { $this->currentPubkey = $pubkey; $this->currentPleb = \App\Models\EinundzwanzigPleb::query()->where('pubkey', $pubkey)->first(); - if ($this->currentPleb->association_status->value < 2) { - return $this->js('alert("Du bist hierzu nicht berechtigt.")'); - } if (in_array($this->currentPleb->npub, config('einundzwanzig.config.current_board'), true)) { $this->canEdit = true; }