This commit is contained in:
Marcin Michałek committed 2015-01-25 21:46:01 +01:00
commit 3bc69682bc
1 file changed
+1 -1
+1 -1
View File
@@ -40,7 +40,7 @@ public class Application extends WebMvcConfigurerAdapter implements CommandLineR
registry.addInterceptor(new RequestInterceptor("SENSORS_CRUD")).addPathPatterns("/sensors/*/*", "/sensors/*");
// registry.addInterceptor(new RequestInterceptor("REQUIREMENTS_CRUD")).addPathPatterns("/requirements**");
// 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/**/**/**");
}
/*