1
0
Fork 0
forked from OpenNeo/impress
impress/app/views
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
..
alt_styles One more copy edit, alt style nuances are hard to explain… 2024-01-24 08:39:18 -08:00
campaigns Remove references to the Stripe gem 2023-07-21 18:54:15 -07:00
closet_hangers Remove old feedback UserVoice link 2023-11-11 15:48:05 -08:00
closet_lists Select All + visual feedback 2015-09-26 14:22:11 -07:00
contributions i18n for contributions#index 2013-01-24 18:23:18 -06:00
devise Can edit username in user settings page 2023-10-23 19:05:08 -07:00
donation_mailer campaign 2015 copy updates 2015-08-30 16:49:46 -07:00
donations yum, new campaigns 2015-08-05 19:26:12 -04:00
item_trades Oops, load the data for the bulk item quantity form on the trades page! 2024-01-21 06:42:24 -08:00
items Persist item user lists form open/closed state across pageloads 2024-01-23 04:30:23 -08:00
layouts Add support_staff flag to user record; they can use Support tools 2024-01-29 04:21:19 -08:00
neopets_page_import_tasks refactor importing 2015-07-27 13:25:24 -04:00
outfits Add support_staff flag to user record; they can use Support tools 2024-01-29 04:21:19 -08:00
pets Update most URLs to use HTTPS 2023-10-25 15:22:57 -07:00
sitemap Update most URLs to use HTTPS 2023-10-25 15:22:57 -07:00
static Remove Pardon Our Dust message and page 2024-01-14 23:00:23 -08:00
users i18n for contributions#index 2013-01-09 17:15:23 -06:00