docbrown/app/helpers
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
..
admin_helper.rb Navigation Items and Role access for Data Update Scripts (#12292) 2021-02-09 17:41:14 +02:00
application_helper.rb Prevent text overflow of follow button (#12422) 2021-01-25 17:29:10 +01:00
articles_helper.rb Extract dashboard posts sort options to a constant (#11123) 2020-10-27 16:09:08 -04:00
authentication_helper.rb Replace authentication_enabled_providers.include? with helper method (#12379) 2021-01-22 07:54:10 -06:00
broadcasts_helper.rb Add ahoy + welcome notification tracking (#8758) [deploy] 2020-06-18 13:40:14 -07:00
chat_channel_memberships_helper.rb 🚀 Ability to allow tag moderators to create chat channels (#9741) 2020-12-08 13:10:36 +07:00
chat_channels_helper.rb 🚀 Ability to allow tag moderators to create chat channels (#9741) 2020-12-08 13:10:36 +07:00
comments_helper.rb Refactor magic numbers for /comments rendering (#12323) 2021-01-22 10:55:44 -06:00
date_helper.rb [deploy] Add local_date helper to handle dates with respect of user timezone (#9285) 2020-07-16 08:45:44 -06:00
feedback_messages_helper.rb Remove old code for feedback messages email to the reporter (#12567) 2021-02-06 10:03:38 +03:00
listing_helper.rb [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00
messages_helper.rb [deploy] Reintroduce sticky_nav changes (ab81f36 & 7f92855) (#10263) 2020-09-09 15:33:13 -04:00
notifications_helper.rb Move app/labor/reaction_image.rb to helper (#11678) 2020-12-01 14:15:30 +07:00
organization_helper.rb [deploy] Add org credit management to org mod page (#7761) 2020-05-11 16:49:05 +02:00
rate_limit_checker_helper.rb Update [Rate Limit] form fields with crayons and add TITLE (#10858) [deploy] 2020-10-21 12:43:01 -07:00
settings_helper.rb [deploy] Label Experience Level Scale in User Settings (#8454) 2020-06-16 15:41:30 +02:00
social_image_helper.rb Move GeneratedImage to Images::GenerateSocialmage (#11691) 2020-12-02 11:03:14 +07:00
social_link_helper.rb Refactor internal users index (#7457) 2020-04-24 17:27:07 -04:00