Skip to content

Commit

Permalink
management-service: changed allowed pages (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
MDybek authored Nov 28, 2024
1 parent d10aaed commit cb11028
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion client/src/components/IncidentList/IncidentList.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.incident-list {
display: grid;
grid-template-columns: 2fr 1fr 2fr 1fr;
overflow-x: scroll;
overflow-x: auto;
width: 100%;
column-gap: 1rem;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
border: 2px solid $component-border-color;
overflow-x: scroll;
overflow-x: auto;
margin: 0 5px;
}
2 changes: 1 addition & 1 deletion client/src/components/PageTemplate/PageTemplate.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import '@/variables';

.page-template {
overflow-y: scroll;
overflow-y: auto;
flex-grow: 1;
width: 100%;
padding: 1rem;
Expand Down
4 changes: 2 additions & 2 deletions client/src/components/Table/Table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
grid-template-columns: repeat(100);
background-color: transparent;
width: 100%;
overflow-x: scroll;
overflow-x: auto;

&__headers {
display: grid;
Expand All @@ -23,7 +23,7 @@
display: grid;
grid-template-columns: subgrid;
grid-column: span 100;
overflow-y: scroll;
overflow-y: auto;
}

&__row {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
border-color: $component-border-color;
border-width: 0.5px;
max-height: 150px;
overflow-y: scroll;
overflow-y: auto;
color: $navbar-text-color;
white-space: pre-wrap;
font-size: 1.2rem;
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/Notification/Notification.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.notification {
height: 100vh;
width: 100%;
overflow-y: scroll;
overflow-y: auto;
flex-grow: 1;
padding: 20px;
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,10 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http, CorsConfigurat
"/public/api/**",
"/v3/api-docs/**",
"/swagger-ui/**",
"/api/v1/auth/login",
"/api/v1/auth/**",
"/login/oauth2/code/**",
"/",
"/login**",
"/error"
).permitAll();
).permitAll();
request.anyRequest().authenticated();
})
.oauth2Login(oauth2 -> oauth2
Expand All @@ -64,7 +62,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http, CorsConfigurat
.logoutSuccessHandler(new HttpStatusReturningLogoutSuccessHandler(HttpStatus.OK)))
.addFilterBefore(new OauthAuthenticator(authorizedClientService), AuthorizationFilter.class)
.exceptionHandling(exception ->
exception.accessDeniedHandler(accessDeniedHandler())
exception.accessDeniedHandler(accessDeniedHandler())
);
return http.build();
}
Expand Down

0 comments on commit cb11028

Please sign in to comment.