docbrown/app/controllers/admin
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
..
tags Move AssignTagModerator from labor to services (#11826) 2020-12-17 09:51:26 +07:00
users Confirmations that users GDPR data was deleted (#11039) 2020-12-14 12:49:45 +03:00
admin_portals_controller.rb Add admin index (#10957) 2020-10-20 11:11:28 -04:00
application_controller.rb Add config post route for admin api (#11698) 2020-12-22 15:50:34 -05:00
articles_controller.rb Fix typo (#12534) 2021-02-02 10:10:22 -05:00
badge_achievements_controller.rb Add the Ability to Remove Badge Achievements From Users (#9896) [deploy] 2020-08-25 11:14:47 -06:00
badges_controller.rb Add the Ability to Remove Badge Achievements From Users (#9896) [deploy] 2020-08-25 11:14:47 -06:00
broadcasts_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
buffer_updates_controller.rb Move Bufferizer to services (#12171) 2021-01-08 11:17:20 -05:00
chat_channels_controller.rb [deploy] [Admin Tooling] Allow admins delete empty Connect Channels (#9873) 2020-08-20 14:55:48 +02:00
comments_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
configs_controller.rb Simplify onboarding images and centralize config around primary/secondary logos (#12118) 2021-02-08 13:26:28 -05:00
data_update_scripts_controller.rb Navigation Items and Role access for Data Update Scripts (#12292) 2021-02-09 17:41:14 +02:00
display_ads_controller.rb Bust sidebar when display ad is updated (#12025) 2020-12-25 11:02:19 -06:00
email_messages_controller.rb Remove resource_admin dashboards (Administrate) (#11792) 2020-12-08 12:38:13 -06:00
events_controller.rb Refactor Admin Events Index (#11103) [deploy] 2020-10-29 10:11:15 -06:00
feedback_messages_controller.rb [deploy] Enable admin-configured app_domain (#10206) 2020-09-11 09:38:34 -04:00
html_variants_controller.rb [deploy] HTML Variant admin dashboard (#10188) 2020-09-28 09:22:13 -06:00
invitations_controller.rb Don't update last_buffered timestamp when creating a suggested tweet (#12537) 2021-02-04 10:00:21 -05:00
listing_categories_controller.rb [deploy] Manage listing categories in dashboard (#10506) 2020-10-02 11:05:09 -04:00
listings_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
moderator_actions_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
mods_controller.rb Move AssignTagModerator from labor to services (#11826) 2020-12-17 09:51:26 +07:00
navigation_links_controller.rb [deploy] Bust caches when navigation links are changed (#10865) 2020-10-21 21:30:31 -04:00
organization_memberships_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
organizations_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
pages_controller.rb Replace collective_noun with community_name (#11846) [deploy] 2020-12-28 09:34:17 -07:00
permissions_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
podcasts_controller.rb Allow admin to add users as podcast owners (MLH Fellowship) (#11728) [deploy] 2020-12-17 10:55:16 -07:00
privileged_reactions_controller.rb Upgrade rubocop* packages to the latest version and fix violations (#11972) 2020-12-21 18:29:43 +01:00
profile_field_groups_controller.rb Profile Admin updates (#10133) 2020-09-02 12:32:25 +02:00
profile_fields_controller.rb [deploy] Add display_area & show_in_onboarding to the profile setup ui (#10158) 2020-09-02 16:30:33 -05:00
reactions_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
response_templates_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
secrets_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
sponsorships_controller.rb Adds ability to create new sponsorships from admin dashboard (#10187) 2020-09-03 10:10:37 -06:00
tags_controller.rb Fix tag alias problems (#12480) 2021-02-03 11:58:59 -05:00
tools_controller.rb Update bust to EdgeCache::Bust (#12052) 2020-12-29 09:53:15 +01:00
users_controller.rb Remove GitHub repositories when GitHub identity is removed (#11951) 2020-12-20 15:15:40 +01:00
webhook_endpoints_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
welcome_controller.rb [deploy] Add community_name to site config (#9864) 2020-08-19 14:54:40 -04:00