impress/app
Emi Matchu 4fff8d88f2 Add support_staff flag to user record; they can use Support tools
A little architecture trick here! DTI 2020 authorizes support staff
requests by means of a secret token, instead of user account stuff. And
our support tools still all call DTI 2020 APIs.

So here, we bridge the gap: we copy DTI 2020's support secret to this
app's environment variables (I needed to update
`deploy/files/production.env` and run `bin/deploy:setup` for this!),
then users with the new `support_secret` flag have it added to their
HTML documents in the meta tags. Then, the JS reads the meta tag.

I also fixed an issue in the `deploy/setup.yml` playbook, where I had
temporarily commented some stuff out to skip steps one time, and forgot
to uncomment them after oops lol!
2024-01-29 04:21:19 -08:00
..
assets Left-align the alt styles on the page, to flow better with the headers 2024-01-24 08:02:19 -08:00
controllers API endpoints to load alt styles as JSON, and filter by species 2024-01-28 07:30:06 -08:00
helpers Add support_staff flag to user record; they can use Support tools 2024-01-29 04:21:19 -08:00
javascript Add support_staff flag to user record; they can use Support tools 2024-01-29 04:21:19 -08:00
mailers donation mailer 2014-09-10 14:32:54 -05:00
models API endpoints to load alt styles as JSON, and filter by species 2024-01-28 07:30:06 -08:00
services Extend OWLS caching from 15 minutes to 1 day 2024-01-15 06:19:48 -08:00
views Add support_staff flag to user record; they can use Support tools 2024-01-29 04:21:19 -08:00