import { Injectable } from '@nestjs/common';
import { OPS_VIEW_PERMISSION } from './ops.service';

@Injectable()
export class OpsPermissionAdapter {
  assertCanViewOps(_request: unknown) {
    // V2.5 backend RBAC is not landed yet. Keep this adapter as the single
    // replacement point for a real guard instead of coupling Ops to a temporary shape.
    return { requiredPermission: OPS_VIEW_PERMISSION, enforced: false };
  }
}
