Skip to content

Commit

Permalink
[NOJIRA]
Browse files Browse the repository at this point in the history
dev config update
  • Loading branch information
jj committed Feb 20, 2019
1 parent 7b1a8ca commit 93603ed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ dockerRun {
image 'unicon/shibui'
ports '10101:8080'
daemonize true
command '--spring.profiles.include=no-auth,very-dangerous'
command '--spring.profiles.include=very-dangerous,dev'
clean true
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ class DevConfig {
emailAddress = 'peter@institution.edu'
roles.add(roleRepository.findByName('ROLE_USER').get())
it
}, new User().with {
username = 'none'
password = '{noop}nonepass'
firstName = 'Bad'
lastName = 'robot'
emailAddress = 'badboy@institution.edu'
roles.add(roleRepository.findByName('ROLE_NONE').get())
it
}, new User().with { // allow us to auto-login as an admin
username = 'anonymousUser'
password = '{noop}anonymous'
Expand Down

0 comments on commit 93603ed

Please sign in to comment.