Files
pricebuddy/app/Filament/Plugins/ApiKeyPlugin.php
Jeremy 96c8e8560f feat: API key management with scoped token abilities
Redesign API key creation and enforce scoped abilities on the custom API routes.

- ApiAbility enum and ability enforcement on the custom API routes
- Redesigned API key creation: current user, all/custom permissions, and a
  dedicated one-time token page with a non-HTTPS clipboard fallback
- Restrict custom keys to a known ability allowlist
- Link global search results to the product view page rather than the edit page
2026-06-18 23:13:06 +10:00

18 lines
330 B
PHP

<?php
namespace App\Filament\Plugins;
use App\Filament\Resources\ApiKeyResource;
use Filament\Panel;
use Rupadana\ApiService\ApiServicePlugin;
class ApiKeyPlugin extends ApiServicePlugin
{
public function register(Panel $panel): void
{
$panel->resources([
ApiKeyResource::class,
]);
}
}