From d802e80685a06357041396aa8febc76362dbb23a Mon Sep 17 00:00:00 2001 From: Ynda Jas Date: Thu, 26 Sep 2024 11:44:58 +0100 Subject: [PATCH] Retain Content Tagger 'Tagathon participant' We have a Rake task for removing permissions from non-GDS users, which will be run once to rectify permissions having been inappropriately granted before we tightened up the feature that allows delegation of granting permissions We've decided not to remove the 'Tagathon participant' permission, so this updates the Rake task in preparation for running it --- lib/tasks/permissions.rake | 1 - test/lib/tasks/permissions_test.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/tasks/permissions.rake b/lib/tasks/permissions.rake index 6d345204f..3d6366e5f 100644 --- a/lib/tasks/permissions.rake +++ b/lib/tasks/permissions.rake @@ -137,7 +137,6 @@ namespace :permissions do { application_name: "Content Data", name: "view_email_subs" }, { application_name: "Content Data", name: "view_siteimprove" }, { application_name: "Content Tagger", name: "GDS Editor" }, - { application_name: "Content Tagger", name: "Tagathon participant" }, { application_name: "Content Tagger", name: "Unreleased feature" }, { application_name: "Manuals Publisher", name: "gds_editor" }, { application_name: "Specialist publisher", name: "gds_editor" }, diff --git a/test/lib/tasks/permissions_test.rb b/test/lib/tasks/permissions_test.rb index 58a5ea45a..bd4ff78e1 100644 --- a/test/lib/tasks/permissions_test.rb +++ b/test/lib/tasks/permissions_test.rb @@ -129,7 +129,7 @@ class PermissionsTest < ActiveSupport::TestCase ) @content_tagger = application_with_revoke_and_retain_list( name: "Content Tagger", - non_signin_permissions_to_revoke: ["GDS Editor", "Tagathon participant", "Unreleased feature"], + non_signin_permissions_to_revoke: ["GDS Editor", "Unreleased feature"], retain_non_signin_permission: true, ) @manuals_publisher = application_with_revoke_and_retain_list(name: "Manuals Publisher", non_signin_permissions_to_revoke: %w[gds_editor])