Skip to content

Commit

Permalink
Merge pull request #457 from TAMULib/sprint-9
Browse files Browse the repository at this point in the history
Sprint 9 Staging
  • Loading branch information
Dbreck-TAMU authored Jan 23, 2025
2 parents 0ce8760 + 3e8d6e1 commit 38d7571
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ public CookieSerializer cookieSerializer() {
serializer.setCookiePath("/");
serializer.setCookieName("SESSION");
serializer.setDomainName(domainName);

return serializer;
}

Expand All @@ -174,10 +173,14 @@ protected SecurityFilterChain configure(HttpSecurity http) throws Exception {
"/directoryViews/{id}",
"/discoveryViews/{id}",
"/displayViews/{id}",
"/themes/{id}",
"/users/{id}")
"/themes/{id}"
)
.hasRole("ADMIN")

.antMatchers(PATCH,
"/users/{id}"
).hasRole("SUPER_ADMIN")

.antMatchers(POST,
"/registration")
.permitAll()
Expand Down
48 changes: 24 additions & 24 deletions src/main/resources/defaults/displayViews.yml
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@
- field: subtype
value: Album
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -428,7 +428,7 @@
- field: subtype
value: Audio Track
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -441,7 +441,7 @@
- field: subtype
value: Choreography
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -454,7 +454,7 @@
- field: subtype
value: Composition
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -467,7 +467,7 @@
- field: subtype
value: Costume
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -480,7 +480,7 @@
- field: subtype
value: Dance
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -493,7 +493,7 @@
- field: subtype
value: Digital Media
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -506,7 +506,7 @@
- field: subtype
value: Drawing
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -519,7 +519,7 @@
- field: subtype
value: Exhibition
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -532,7 +532,7 @@
- field: subtype
value: Event
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -545,7 +545,7 @@
- field: subtype
value: Film
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -558,7 +558,7 @@
- field: subtype
value: Illustration
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -571,7 +571,7 @@
- field: subtype
value: Installation
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -584,7 +584,7 @@
- field: subtype
value: Interactive Media
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -597,7 +597,7 @@
- field: subtype
value: Painting
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -610,7 +610,7 @@
- field: subtype
value: Performance
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -623,7 +623,7 @@
- field: subtype
value: Photograph
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -636,7 +636,7 @@
- field: subtype
value: Play
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -649,7 +649,7 @@
- field: subtype
value: Print
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -662,7 +662,7 @@
- field: subtype
value: Project
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -675,7 +675,7 @@
- field: subtype
value: Score
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -688,7 +688,7 @@
- field: subtype
value: Screenplay
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -701,7 +701,7 @@
- field: subtype
value: Sculpture
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand All @@ -714,7 +714,7 @@
- field: subtype
value: Time Based Media
sort:
- field: dateTimeIntervalStart
- field: dateTimeInterval.start
direction: DESC
date: true
- field: title
Expand Down

0 comments on commit 38d7571

Please sign in to comment.