-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2363 from alphagov/small-improvements-users-page
Small improvements to the Users page
- Loading branch information
Showing
20 changed files
with
33 additions
and
609 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
app/models/bulk_grant_permission_set_application_permission.rb
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
db/migrate/20230918141453_drop_bulk_grant_permission_sets_et_al.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
class DropBulkGrantPermissionSetsEtAl < ActiveRecord::Migration[7.0] | ||
def change | ||
drop_table :bulk_grant_permission_set_application_permissions do |t| | ||
t.belongs_to :bulk_grant_permission_set, | ||
null: false, | ||
index: { name: "index_bulk_grant_permissions_on_bulk_grant_permission_set_id" } | ||
t.belongs_to :supported_permission, | ||
null: false, | ||
index: { name: "index_bulk_grant_permissions_on_permission_id" } | ||
|
||
t.timestamps | ||
|
||
t.index %i[bulk_grant_permission_set_id supported_permission_id], | ||
name: "index_bulk_grant_permissions_on_permission_id_and_bulk_grant_id", | ||
unique: true | ||
end | ||
|
||
drop_table :bulk_grant_permission_sets do |t| | ||
t.belongs_to :user | ||
t.string :outcome | ||
t.integer :processed_users, default: 0, null: false | ||
t.integer :total_users, default: 0, null: false | ||
|
||
t.timestamps | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.