Class: Authz::HomeController Private

Inherits:
ApplicationController show all
Defined in:
app/controllers/authz/home_controller.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Methods included from Controllers::AuthorizationManager

#apply_authz_scopes, #authorize, #authorized?, #authorized_path?, #skip_authorization, #verify_authorized

Instance Method Details

#indexObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



6
7
8
9
10
# File 'app/controllers/authz/home_controller.rb', line 6

def index
  @pending_controller_actions = ControllerAction.pending
  @stale_controller_actions = ControllerAction.stale
  @invalid_scoping_rules = ScopingRule.where.not(scopable: Authz::Scopables::Base.get_scopables_names).pluck(:scopable).uniq
end