Much work.

This commit is contained in:
Dan Milne
2025-11-04 10:32:05 +11:00
parent c72d83acda
commit 85252a1a07
51 changed files with 1170 additions and 97 deletions

View File

@@ -2,6 +2,10 @@
module Api
class RulesController < ApplicationController
# NOTE: This controller is now SECONDARY/UNUSED for primary agent synchronization
# Agents get rule updates via event responses (see Api::EventsController)
# These endpoints are kept for administrative/debugging purposes only
skip_before_action :verify_authenticity_token
before_action :authenticate_project!
before_action :check_project_enabled