docbrown/lib
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
..
data Remove contact_consent from users (#12196) 2021-01-12 16:18:47 -05:00
data_update_scripts Navigation Items and Role access for Data Update Scripts (#12292) 2021-02-09 17:41:14 +02:00
generators Add service generator (#11265) 2020-11-10 09:09:35 +07:00
liquid Remove Liquid::BlockBody patch (#12313) 2021-01-18 08:09:28 +01:00
sidekiq Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
sitemap_generator [deploy] Bug Fix:Monkey Patch Sitemap Generator is lib not config (#10113) 2020-08-31 16:12:11 -05:00
tasks Remove Hacktoberfest Badge Rake Task (#12495) 2021-02-01 09:59:29 -06:00
api_constraints.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00