Skip to content

Commit

Permalink
Cleanup permissions renamed in e12a7c2
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernhard committed Mar 26, 2024
1 parent 42c5f4e commit 290a545
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions db/migrate/20240326143045_remove_old_rex_permissions.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# frozen_string_literal: true

# Remove old permissons to run the remote execution jobs
class RemoveOldRexPermissions < ActiveRecord::Migration[6.0]
def up
Permission.where(:name => %w(new_remote_execution create_remote_execution)).destroy_all
end

def down
# The permission will get recreated by seeds
end
end

0 comments on commit 290a545

Please sign in to comment.