disabled delete on interfaces

This commit is contained in:
Konstantinos Spyrou 2023-01-23 17:57:18 +02:00
parent 0aa604a192
commit 4231480cbc
1 changed files with 2 additions and 1 deletions

View File

@ -201,7 +201,8 @@ public class RepositoryController {
@PreAuthorize("hasAuthority('SUPER_ADMINISTRATOR') or hasAuthority('CONTENT_PROVIDER_DASHBOARD_ADMINISTRATOR') or @authorizationService.isMemberOfInterface(#id)")
public void deleteRepositoryInterface(@RequestParam("id") String id,
@RequestParam("registeredBy") String registeredBy) {
repositoryService.deleteRepositoryInterface(id, registeredBy);
// repositoryService.deleteRepositoryInterface(id, registeredBy);
logger.warn("User attempted delete on Interface with ID: {}", id);
}
@RequestMapping(value = "/addInterface", method = RequestMethod.POST,