Skip to content

Commit 485a16a

Browse files
John Pintodon-stuckey
andcommitted
Updated seeds.rb file for identifier_schemes to include context value and removed logo_url and identifier_prefix for Shibboleth (as it was causing issues with SSO).
Co-authored-by: dstuckey-uoe <dstuckey@ed.ac.uk>
1 parent 4c1befb commit 485a16a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Changelog
22

3+
- Updated seeds.rb file for identifier_schemes to include context value and removed logo_url and idenitifier_prefix for Shibboleth (as it was causing issues with SSO). [#3525](https://github.com/DMPRoadmap/roadmap/pull/3525)
34
- Adjustments to style of select tags and plan download layout [#3509](https://github.com/DMPRoadmap/roadmap/pull/3509)
45
- Fix failing eslint workflow / upgrade `actions/checkout` & `actions/setup-node` to v3 [#3503](https://github.com/DMPRoadmap/roadmap/pull/3503)
56
- Fix rendering of `confirm_merge` partial [#3515](https://github.com/DMPRoadmap/roadmap/pull/3515)

db/seeds.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@
2525
description: 'ORCID',
2626
active: true,
2727
logo_url:'http://orcid.org/sites/default/files/images/orcid_16x16.png',
28-
identifier_prefix:'https://orcid.org'
28+
identifier_prefix:'https://orcid.org',
29+
context: 25
2930
},
3031
{
3132
name: 'shibboleth',
3233
description: 'Your institutional credentials',
3334
active: true,
34-
logo_url: 'http://newsite.shibboleth.net/wp-content/uploads/2017/01/Shibboleth-logo_2000x1200-1.png',
35-
identifier_prefix: "https://example.com"
36-
},
35+
context: 11
36+
}
3737
]
3838
identifier_schemes.each { |is| IdentifierScheme.find_or_create_by(is) }
3939

0 commit comments

Comments
 (0)