teqo/src/collections
Francisco Ignácio Fontoura Solla c4866fabc0 Add /campanha internal area with isolated Payload auth
Introduce the internal campaign-management area gated by its own
authentication, kept isolated from the Payload admin so a campaign
session and an admin session can coexist in one browser.

- Add separate `campaignUser` auth collection (not `users` + roles)
- Authenticate via an isolated httpOnly `campaign-token` cookie scoped
  to /campanha, distinct from the default `payload-token`
- Add loginCampaign/logoutCampaign server actions and getCampaignUser
  session verification helper
- Add public login route and a protected (app) route group whose
  layout enforces the auth barrier
- Add migration 20260716_010420_add_campaign_user and document the
  auth foundation in AGENTS.md
2026-07-15 22:33:26 -03:00
..
CampaignUser.ts Add /campanha internal area with isolated Payload auth 2026-07-15 22:33:26 -03:00
Consent.ts fix type isssues 2026-03-15 17:41:24 -03:00
Contact.ts Including page mandato-no-whatsapp 2026-03-14 18:07:40 -03:00
Media.ts feat(payload): add pt-BR admin/frontend copy and site settings social links 2026-02-15 01:17:26 -03:00
Petition.ts remove autosave from petition collection 2026-03-08 22:56:23 -03:00
Post.ts Add Post and Tag collections for news and publications 2026-07-15 19:12:11 -03:00
Signature.ts Including page mandato-no-whatsapp 2026-03-14 18:07:40 -03:00
Subscription.ts Including page mandato-no-whatsapp 2026-03-14 18:07:40 -03:00
Tag.ts Add Post and Tag collections for news and publications 2026-07-15 19:12:11 -03:00
Users.ts feat(payload): add pt-BR admin/frontend copy and site settings social links 2026-02-15 01:17:26 -03:00