SecurityDebugController

SecurityDebugController

Security Debug Controller

Handles the display and interaction of security debug information in debug mode. Provides toggle functionality to show/hide detailed security information including user policies and authorization check logs.

Features:

  • Toggle visibility of security debug panel
  • Smooth slide animations
  • Persistent state during page session
  • AJAX loading of security information on first view

HTML Structure:

<div data-controller="security-debug">
  <button data-action="click->security-debug#toggle" data-security-debug-target="toggleBtn">
    Show Security Info
  </button>
  <div data-security-debug-target="panel" style="display: none;">
    <!-- Security info content -->
  </div>
</div>

Constructor

new SecurityDebugController()

Source:

Methods

hide()

Description:
  • Hide the security debug panel

Source:

initialize()

Description:
  • Initialize controller

Source:

show()

Description:
  • Show the security debug panel

Source:

toggle()

Description:
  • Toggle the visibility of the security debug panel

Source: