Merge branch 'master' of https://github.com/lukasgol/bazy-projekt-rest
This commit is contained in:
commit
3bc69682bc
1 file changed
+1
-1
@@ -40,7 +40,7 @@ public class Application extends WebMvcConfigurerAdapter implements CommandLineR
|
|||||||
registry.addInterceptor(new RequestInterceptor("SENSORS_CRUD")).addPathPatterns("/sensors/*/*", "/sensors/*");
|
registry.addInterceptor(new RequestInterceptor("SENSORS_CRUD")).addPathPatterns("/sensors/*/*", "/sensors/*");
|
||||||
// registry.addInterceptor(new RequestInterceptor("REQUIREMENTS_CRUD")).addPathPatterns("/requirements**");
|
// registry.addInterceptor(new RequestInterceptor("REQUIREMENTS_CRUD")).addPathPatterns("/requirements**");
|
||||||
// registry.addInterceptor(new RequestInterceptor("RULES_CRUD")).addPathPatterns("/rules**");
|
// registry.addInterceptor(new RequestInterceptor("RULES_CRUD")).addPathPatterns("/rules**");
|
||||||
// registry.addInterceptor(new RequestInterceptor("PROFILES_CRUD")).addPathPatterns("/profiles**");
|
registry.addInterceptor(new RequestInterceptor("PROFILES_CRUD")).addPathPatterns("/profiles/**", "/profiles/**/**", "/profiles/**/**/**");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in new issue
Block a user