Revert "fix: [tenant-console] 테넌트 콘솔 분리작업"

This reverts commit 8da1702e
This commit is contained in:
2026-03-13 21:24:18 +09:00
parent c3bc7912dd
commit 432888980b
70 changed files with 423 additions and 1173 deletions

View File

@@ -2,7 +2,6 @@
namespace App\Http\Controllers;
use App\Helpers\TenantHelper;
use App\Models\Role;
use App\Models\Tenants\Tenant;
use App\Services\RolePermissionService;
@@ -22,7 +21,7 @@ public function __construct(RolePermissionService $rolePermissionService)
*/
public function index(Request $request)
{
$tenantId = TenantHelper::getRawTenantId();
$tenantId = session('selected_tenant_id');
// 역할 목록 조회
$rolesQuery = Role::query()->orderBy('tenant_id')->orderBy('name');