-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove Hyrax::RoleManagement from
.koppie
(#6272)
including this makes the whole application very different from `.dassie`, in a way that complicates the test suite substantially.
- Loading branch information
tamsin johnson
authored
Aug 30, 2023
1 parent
c3940d4
commit eb79277
Showing
5 changed files
with
5 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,6 @@ | ||
# nurax-pg uses Hydra::RoleManagement for user and role definition. The following | ||
# examples show how to perform common setup actions. | ||
# | ||
# @see https://github.com/samvera/hydra-role-management | ||
# | ||
# Create admin role | ||
# | ||
# admin_role = Role.find_or_create_by(name: 'admin') | ||
# | ||
# Create a user | ||
# | ||
# admin_user = User.find_or_create_by(email: '[email protected]') do |user| | ||
# user.password = 'change_me' | ||
# user.password_confirmation = 'change_me' | ||
# user.confirmed_at = DateTime.now | ||
# end | ||
# admin_user.roles << admin_role unless admin_user.roles.include?(admin_role) | ||
# admin_user.save!(validate: false) | ||
# | ||
# You can create non-admin roles and assign users to those roles using a similar pattern. | ||
# | ||
# The following roles might be used for testing, so they remain here. They will not | ||
# be available for use when logged in through the browser. | ||
# | ||
development: | ||
admin: | ||
- [email protected] | ||
archivist: | ||
- [email protected] | ||
|
||
|
@@ -45,4 +23,4 @@ test: | |
|
||
production: | ||
admin: | ||
- systems@curationexperts.com | ||
- admin@example.com |
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