docbrown/app
Ridhwana 05e31971cb
Navigation Items and Role access for Data Update Scripts (#12292)
* feat: add tech_menu_items to the admin helper

* feat: add the tech resources to /admin  if the user has the correct role

* feat: use a partial that will show the data update scripts in the navbar with the correct role

* chore: use a method

* test: chore

* feat: setup the data to need permission single_resource_admin with DataUpdateScript permissions

* chore: remove the if current_user.tech_admin?

* chore: remove line

* feat: add a DUS for single_resource_admin roles to be added to users with tech_admin roles

* fix: move all teh routes outside of the block where tech_admin is required.

* chore: use the constant and remove the method

* chore: add a comma

* Update config/routes.rb

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

* feat: add a tech admin role to the dropdown

* feat: add the tech admin role along with single_resource_admin

* chore: oops

* refactor: amend the spec to use let blocks

Co-authored-by: rhymes <rhymes@hey.com>
2021-02-09 17:41:14 +02:00
..
assets Convert Connect settings menu div to nav (#12578) 2021-02-08 14:56:35 -06:00
black_box Small adjustment to blackbox.rb (#10961) 2020-10-20 21:14:56 -04:00
controllers Navigation Items and Role access for Data Update Scripts (#12292) 2021-02-09 17:41:14 +02:00
decorators Improve cumulative layout shift on comment reactions + optimizations (#12309) 2021-01-18 19:29:44 -05:00
errors [deploy] Add contexts and permissions to liquid tags (#8917) 2020-06-30 14:53:18 -04:00
helpers Navigation Items and Role access for Data Update Scripts (#12292) 2021-02-09 17:41:14 +02:00
javascript Enable eslint in chat.jsx (#12617) 2021-02-09 08:19:05 -06:00
lib Navigation Items and Role access for Data Update Scripts (#12292) 2021-02-09 17:41:14 +02:00
liquid_tags Bump liquid from 4.0.3 to 5.0.0 (#12150) 2021-01-15 15:37:42 -06:00
mailers Email confirmation to abuse reports (#12557) 2021-02-03 22:59:50 +03:00
middlewares Move TimeZoneSetter middleware in proper place (#11336) 2020-11-09 17:11:10 +01:00
models Navigation Items and Role access for Data Update Scripts (#12292) 2021-02-09 17:41:14 +02:00
policies Remove feed admin publish permission (#12483) 2021-02-04 13:13:35 +00: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 Video max width (#12436) 2021-01-26 15:12:37 +01:00
serializers Remove language settings (#12502) 2021-02-04 08:35:00 +07:00
services Navigation Items and Role access for Data Update Scripts (#12292) 2021-02-09 17:41:14 +02:00
uploaders [deploy] Bug Fix: Validate GIFs Frames and Add MiniMagick Timeout (#9319) 2020-07-15 09:49:24 -05:00
validators Add validations to SiteConfig model (#12341) 2021-01-26 09:12:24 +07:00
view_objects Move GeneratedImage to Images::GenerateSocialmage (#11691) 2020-12-02 11:03:14 +07:00
views Navigation Items and Role access for Data Update Scripts (#12292) 2021-02-09 17:41:14 +02:00
workers Declare winner in feed_top_articles_query test (#12308) 2021-02-04 13:02:00 -05:00