Module: Karst::Web::PopulationsPanel

Defined in:
lib/karst/web/populations_panel.rb

Overview

Advanced, local-only management for approvals already granted from the contextual /karst workflow. New approvals deliberately cannot be made here: this surface exists only so persistent state can be inspected and safely revoked, including after its model or scope becomes stale.

Class Method Summary collapse

Class Method Details

.render(approved: [], stale: [], storage_path: nil, storage_error: nil, revoked: false) ⇒ Object



36
37
38
# File 'lib/karst/web/populations_panel.rb', line 36

def render(approved: [], stale: [], storage_path: nil, storage_error: nil, revoked: false)
  [200, headers, [document(approved, stale, storage_path, storage_error, revoked)]]
end