docbrown/app
Ben Halpern 673b1406be
Allow any admin to publish welcome thread (#11597)
* Allow any admin to publish welcome thread

* Update app/models/article.rb

Co-authored-by: rhymes <rhymes@hey.com>

* Fix specs by making user for welcome thread an admin

* revert spec changes and update code to include either admin, super_admin, or site mascot

* add specs for scope

* Modify tests and include mascot user

* Fix test

Co-authored-by: rhymes <rhymes@hey.com>
Co-authored-by: mstruve <mollylbs@gmail.com>
2020-12-22 16:18:32 -05:00
..
assets Filter XSS in navigationLink's title (#12003) 2020-12-22 12:05:41 +01:00
black_box Small adjustment to blackbox.rb (#10961) 2020-10-20 21:14:56 -04:00
controllers Add config post route for admin api (#11698) 2020-12-22 15:50:34 -05:00
decorators Render Profile Fields on user profiles (#11485) 2020-12-09 09:41:11 -06:00
errors [deploy] Add contexts and permissions to liquid tags (#8917) 2020-06-30 14:53:18 -04:00
helpers Fix Rails/OutputSafety violations (#11945) 2020-12-17 20:30:15 +03:00
javascript Canvas in draw in now responsie 🚀 (#11876) 2020-12-15 13:08:09 -05:00
labor Move AssignTagModerator from labor to services (#11826) 2020-12-17 09:51:26 +07:00
lib Add Sign in with Apple (#11934) 2020-12-18 10:22:33 -06:00
liquid_tags Upgrade rubocop* packages to the latest version and fix violations (#11972) 2020-12-21 18:29:43 +01:00
mailers Update trusted role email Subject (#11519) 2020-11-20 09:54:21 -06:00
middlewares Move TimeZoneSetter middleware in proper place (#11336) 2020-11-09 17:11:10 +01:00
models Allow any admin to publish welcome thread (#11597) 2020-12-22 16:18:32 -05:00
policies 🚀 Ability to allow tag moderators to create chat channels (#9741) 2020-12-08 13:10:36 +07:00
queries/admin Filter by a few other roles when adding potential mods (#11187) 2020-11-02 15:05:19 -05:00
refinements Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
sanitizers [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
serializers [deploy] Refactor:Remove Reaction Search Code (#10377) 2020-09-23 12:27:50 -05:00
services Add config post route for admin api (#11698) 2020-12-22 15:50:34 -05:00
uploaders [deploy] Bug Fix: Validate GIFs Frames and Add MiniMagick Timeout (#9319) 2020-07-15 09:49:24 -05:00
validators Fix misleading comment (#11847) 2020-12-10 12:34:23 -06:00
view_objects Move GeneratedImage to Images::GenerateSocialmage (#11691) 2020-12-02 11:03:14 +07:00
views Use default social image on /listings (#11997) 2020-12-21 18:29:11 +01:00
workers Update bust_tag to EdgeCache::BustTag (#11953) 2020-12-21 14:43:42 -05:00