Skip to content

Conversation

@flavorjones
Copy link
Member

@flavorjones flavorjones commented Jan 28, 2026

  • backfill some tests around auth on the Admin1984 controller endpoints
  • extract a new controller that will only be used as the base class for Admin1984::ApplicationController
  • migration for the new Audits1984::AuditorToken model
  • extend existing authentication method to support the Audits1984 bearer token

Also, set the lifetime of console1984 sessions to 60 days

flavorjones and others added 4 commits January 28, 2026 12:55
- Rename SaasAdminController to Admin::AuditController
- Override require_authentication to support bearer tokens alongside
  session auth, allowing API access to audit console
- Add migration for audits1984_auditor_tokens table
- Add controller tests for authentication scenarios including staff
  validation on token-based access

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@flavorjones flavorjones changed the title Update audits1984 and allow the auditor token for LLM access to audits saas: Update audits1984 and allow the auditor token for LLM access to audits Jan 28, 2026
@flavorjones flavorjones merged commit a67dea6 into main Jan 28, 2026
12 checks passed
@flavorjones flavorjones deleted the flavorjones/coworker-audit-api branch January 28, 2026 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants