docbrown/config
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
..
elasticsearch/mappings Remove language settings (#12502) 2021-02-04 08:35:00 +07:00
environments Bug Fix:Fix development.rb to Correctly Detect Rails command (#12191) 2021-01-11 08:49:20 -06:00
fastly/snippets Add onboarding param to safe list (#11814) 2020-12-08 13:34:53 -05:00
initializers Optimization:Throttle Tag Index Endpoints (#12520) 2021-02-03 11:14:54 -05:00
locales [deploy] Invite users to join and create password (#9294) 2020-07-15 11:37:19 -04:00
webpack E2E Test: Initial Adminisitrator Login Flow (#11840) 2020-12-11 13:44:18 -05:00
application.rb Move back from after_initialize to explicit call (#11881) 2020-12-14 17:16:27 -05:00
blazer.yml Add tag smart variable to Blazer config (#11640) 2020-11-30 21:50:28 +07:00
boot.rb Upgrade to Rails 6.0 (#7658) 2020-06-04 11:54:25 +02:00
cable.yml Upgrade Rails to 5.2.3 (#1408) 2019-04-03 13:08:59 -04:00
database.yml Rubocop: address feedback of #9430 and use kwargs (#9538) 2020-07-29 11:13:36 +02:00
environment.rb Rails 6: enable zeitwerk autoloader (#8766) 2020-06-22 16:27:55 +02:00
field_test.yml Declare winner in feed_top_articles_query test (#12308) 2021-02-04 13:02:00 -05:00
puma.rb [deploy] Enable Puma's nakayoshi_fork feature (#11121) 2020-10-28 09:22:44 -04:00
routes.rb Navigation Items and Role access for Data Update Scripts (#12292) 2021-02-09 17:41:14 +02:00
schedule.yml Add descriptions to scheduled tasks (#12345) 2021-01-20 16:32:22 +01:00
secrets.yml Initial commit 2018-02-28 16:11:08 -05:00
sidekiq.yml setup sidekiq queues for different priority jobs (#5300) [deploy] 2019-12-30 10:16:52 -06:00
sitemap.rb [deploy] Enable admin-configured app_domain (#10206) 2020-09-11 09:38:34 -04:00
spring.rb Rubocop Style cops enabled (#2056) 2019-03-15 18:33:54 -04:00
storage.yml Upgrade Rails to 5.2.3 (#1408) 2019-04-03 13:08:59 -04:00
webpacker.yml Moved from resolved_paths (deprecated) to additional_paths. (#9982) 2020-08-24 16:08:16 -04:00