Add Books page and minor improvements

This commit is contained in:
Muhammet Güler
2026-02-03 02:31:54 +03:00
parent 90565412a4
commit 03ff01f24d
18 changed files with 425 additions and 0 deletions
+7
View File
@@ -11,6 +11,13 @@ use Illuminate\Auth\Access\HandlesAuthorization;
class PagePolicy
{
use HandlesAuthorization;
public function before(AuthUser $user, $ability)
{
if ($user->hasRole('super_admin')) {
return true;
}
}
public function viewAny(AuthUser $authUser): bool
{