@Ignore
@Test
public void userEditorHasPermissionToViewModule() {

    log.debug("userEditorHasPermissionToViewModule()");
    User editor = userRepository.findOne(3L);
    Module module = moduleRepository.findOne(2L);
    Boolean hasPermission = securityService.hasUserPermissionToObject(editor, PermissionName.MODULE_VIEW, module);
    assertTrue(hasPermission);
}