Remove particle component and its associated routes and security controls.
This commit is contained in:
parent
48cac607de
commit
213f9987d9
|
|
@ -38,7 +38,7 @@ public class SecurityConfig {
|
|||
.authorizeHttpRequests(auth -> auth
|
||||
.requestMatchers("/form/**").hasAuthority(PermissionClaimDto.USER.getValue())
|
||||
.requestMatchers("/head_mod/**").hasAuthority(PermissionClaimDto.HEAD_MOD.getValue())
|
||||
.requestMatchers("/particles/**").hasAuthority(PermissionClaimDto.HEAD_MOD.getValue())
|
||||
// .requestMatchers("/particles/**").hasAuthority(PermissionClaimDto.HEAD_MOD.getValue())
|
||||
.requestMatchers("/files/save/**").hasAuthority(PermissionClaimDto.HEAD_MOD.getValue())
|
||||
.anyRequest().permitAll()
|
||||
)
|
||||
|
|
|
|||
|
|
@ -113,8 +113,4 @@ export const routes: Routes = [
|
|||
path: 'login',
|
||||
loadComponent: () => import('./login/login.component').then(m => m.LoginDialogComponent)
|
||||
},
|
||||
{
|
||||
path: 'particles',
|
||||
loadComponent: () => import('./particles/particles.component').then(m => m.ParticlesComponent)
|
||||
},
|
||||
];
|
||||
|
|
|
|||
|
|
@ -121,7 +121,6 @@ export class ParticlesComponent {
|
|||
this.matSnackBar.open('JSON file downloaded', '', {duration: 2000});
|
||||
}
|
||||
|
||||
|
||||
public copyJson() {
|
||||
navigator.clipboard.writeText(this.generateJson()).then(() => {
|
||||
this.matSnackBar.open('Copied to clipboard', '', {duration: 2000})
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user