Skip to content

Commit

Permalink
Retain Content Tagger 'Tagathon participant'
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yndajas committed Sep 26, 2024
1 parent ee47b83 commit d802e80
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/tasks/permissions.rake
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down
2 changes: 1 addition & 1 deletion test/lib/tasks/permissions_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit d802e80

Please sign in to comment.