|
1 | 1 | class ProfilesController < ApplicationController
|
2 |
| - $units = {:access => "Access Services", :archives => "Archives", :augustana => "Augustana", |
3 |
| - :bib => "Cataloguing & Metadata Strategies", :collections => "Collection Strategies", |
4 |
| - :digital => "Digital Initiatives", :facilities => "Facilities", :finance => "Financial Systems & Analysis", |
5 |
| - :health => "Health Sciences", :hr => "Human Resources", :humanities => "Social Sciences + Humanities", |
6 |
| - :iss => "Information Services & User Engagement", :its => "Information Technology Services", :admin => "Library and Museums Administration", |
7 |
| - :science => "Natural + Applied Sciences", :special => "Special Collections"} |
8 |
| - $buildings = {:augustana => "Augustana Campus Library", :bsj => "Bibliothèque Saint-Jean", :bpsc=> "Bruce Peel Special Collections", |
9 |
| - :cameron => "Cameron Library", :law => "J.A. Weir Law Library", :scott => "J.W. Scott Library", |
10 |
| - :rcrf => "Research & Collections Resource Facility", :rutherford => "Rutherford", |
11 |
| - :stjosephs => "St. Joseph's Library" } |
| 2 | + $units = {:access => "Access Services", |
| 3 | + :archives => "Archives", |
| 4 | + :copyright => "Copyright", |
| 5 | + :augustana => "Faculty Engagement (Augustana)", |
| 6 | + :bib => "Cataloguing Strategies", |
| 7 | + :collections => "Collection Strategies", |
| 8 | + :digital => "Digital Production & Preservation Services", |
| 9 | + :digrepo => "Digital Repository & Data Services", |
| 10 | + :dsc => "Digital Scholarship Centre", |
| 11 | + :facilities => "Facilities", |
| 12 | + :health => "Faculty Engagement (Health Sciences)", |
| 13 | + :metadata => "Metadata Strategies", |
| 14 | + :humanities => "Faculty Engagement (Social Sciences + Humanities)", |
| 15 | + :iss => "Information Services & User Engagement", |
| 16 | + :its => "Specialized Technical Support", |
| 17 | + :las => "Library Application Support", |
| 18 | + :lad => "Library Application Development", |
| 19 | + :admin => "Library Administration", |
| 20 | + :researchimpact => "Research Impact", |
| 21 | + :rdm => "Research Data Management", |
| 22 | + :open => "Open Publishing & Digitization Services", |
| 23 | + :science => "Faculty Engagement (Natural + Applied Sciences)", |
| 24 | + :stratigic => "Strategic Partnerships", |
| 25 | + :special => "Special Collections", |
| 26 | + :ux => "User Experience"} |
| 27 | + $buildings = {:augustana => "Augustana Campus Library", |
| 28 | + :bsj => "Bibliothèque Saint-Jean", |
| 29 | + :bpsc=> "Bruce Peel Special Collections", |
| 30 | + :cameron => "Cameron Library", |
| 31 | + :scott => "J.W. Scott Library", |
| 32 | + :rcrf => "Research & Collections Resource Facility", |
| 33 | + :rutherford => "Rutherford", |
| 34 | + :stjosephs => "St. Joseph's Library" } |
12 | 35 |
|
13 | 36 | # You'll have to define "cmsPassword" in secrets.yml, or this will fail. Thanks, ansible.
|
14 | 37 | http_basic_authenticate_with name: Rails.application.secrets.cms_user, password: Rails.application.secrets.cms_password, except: [:index, :show]
|
|
0 commit comments