disabled delete on interfaces
This commit is contained in:
parent
0aa604a192
commit
4231480cbc
|
@ -201,7 +201,8 @@ public class RepositoryController {
|
||||||
@PreAuthorize("hasAuthority('SUPER_ADMINISTRATOR') or hasAuthority('CONTENT_PROVIDER_DASHBOARD_ADMINISTRATOR') or @authorizationService.isMemberOfInterface(#id)")
|
@PreAuthorize("hasAuthority('SUPER_ADMINISTRATOR') or hasAuthority('CONTENT_PROVIDER_DASHBOARD_ADMINISTRATOR') or @authorizationService.isMemberOfInterface(#id)")
|
||||||
public void deleteRepositoryInterface(@RequestParam("id") String id,
|
public void deleteRepositoryInterface(@RequestParam("id") String id,
|
||||||
@RequestParam("registeredBy") String registeredBy) {
|
@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,
|
@RequestMapping(value = "/addInterface", method = RequestMethod.POST,
|
||||||
|
|
Loading…
Reference in New Issue