class ActiveAdmin::AccessDenied

be useful for capturing / recognizing security issues.
exception thrown. The exception has a few goodies that may
Exception class to raise when there is an authorized access

def initialize(user, action, subject = nil)

def initialize(user, action, subject = nil)
  @user = user
  @action = action
  @subject = subject
  super()
end

def message

def message
  I18n.t("active_admin.access_denied.message")
end