fix(auth): enforce password and agent role boundaries

This commit is contained in:
wchino
2026-07-21 23:41:18 +08:00
parent fb15c64d9b
commit 457d2cc9e5
7 changed files with 135 additions and 19 deletions

View File

@@ -0,0 +1,17 @@
<?php
use App\Support\InvalidPlatformAgentRoleCleanup;
use Illuminate\Database\Migrations\Migration;
return new class extends Migration
{
public function up(): void
{
InvalidPlatformAgentRoleCleanup::run();
}
public function down(): void
{
// 不回滚:恢复跨站非法代理角色会重新扩大权限。
}
};