-
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 #2670 from alphagov/refactor-roles
Refactor roles
- Loading branch information
Showing
43 changed files
with
250 additions
and
279 deletions.
There are no files selected for viewing
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 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 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 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 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 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 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 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 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 |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
name: "Test Superadmin", | ||
email: "[email protected]", | ||
password: "6fe552ca-d406-4c54-b7a6-041ed1ade6cd", | ||
role: Roles::Superadmin.role_name, | ||
role: Roles::Superadmin.name, | ||
confirmed_at: Time.current, | ||
organisation: gds, | ||
) | ||
|
@@ -20,7 +20,7 @@ | |
name: "Test Admin", | ||
email: "[email protected]", | ||
password: "6fe552ca-d406-4c54-b7a6-041ed1ade6cd", | ||
role: Roles::Admin.role_name, | ||
role: Roles::Admin.name, | ||
confirmed_at: Time.current, | ||
organisation: gds, | ||
) | ||
|
@@ -29,7 +29,7 @@ | |
name: "Test Super Organisation Admin", | ||
email: "[email protected]", | ||
password: "6fe552ca-d406-4c54-b7a6-041ed1ade6cd", | ||
role: Roles::SuperOrganisationAdmin.role_name, | ||
role: Roles::SuperOrganisationAdmin.name, | ||
confirmed_at: Time.current, | ||
organisation: gds, | ||
) | ||
|
@@ -38,7 +38,7 @@ | |
name: "Test Organisation Admin", | ||
email: "[email protected]", | ||
password: "6fe552ca-d406-4c54-b7a6-041ed1ade6cd", | ||
role: Roles::OrganisationAdmin.role_name, | ||
role: Roles::OrganisationAdmin.name, | ||
confirmed_at: Time.current, | ||
organisation: gds, | ||
) | ||
|
@@ -63,7 +63,7 @@ | |
name: "Test User", | ||
email: "[email protected]", | ||
password: "6fe552ca-d406-4c54-b7a6-041ed1ade6cd", | ||
role: Roles::Normal.role_name, | ||
role: Roles::Normal.name, | ||
confirmed_at: Time.current, | ||
organisation: test_organisation_without_2sv, | ||
) | ||
|
@@ -99,7 +99,7 @@ | |
name: "Test User with 2SV enabled", | ||
email: "[email protected]", | ||
password: "6fe552ca-d406-4c54-b7a6-041ed1ade6cd", | ||
role: Roles::Normal.role_name, | ||
role: Roles::Normal.name, | ||
confirmed_at: Time.current, | ||
organisation: test_organisation_without_2sv, | ||
require_2sv: true, | ||
|
@@ -110,7 +110,7 @@ | |
name: "Test User from organisation with mandatory 2SV", | ||
email: "[email protected]", | ||
password: "6fe552ca-d406-4c54-b7a6-041ed1ade6cd", | ||
role: Roles::Normal.role_name, | ||
role: Roles::Normal.name, | ||
confirmed_at: Time.current, | ||
organisation: test_organisation_with_2sv, | ||
require_2sv: true, | ||
|
@@ -122,7 +122,7 @@ | |
api_user: true, | ||
email: "[email protected]", | ||
password: "6fe552ca-d406-4c54-b7a6-041ed1ade6cd", | ||
role: Roles::Normal.role_name, | ||
role: Roles::Normal.name, | ||
confirmed_at: Time.current, | ||
require_2sv: false, | ||
) | ||
|
Oops, something went wrong.