add a SQL GRANT
This commit is contained in:
parent
383fc49908
commit
817864942d
|
@ -97,10 +97,8 @@ public class FunderService {
|
|||
writer.write("]");
|
||||
log.info("Publish funders file: " + tmp.getAbsolutePath());
|
||||
|
||||
synchronized (this) {
|
||||
deleteFile(tempFile);
|
||||
setTempFile(tmp);
|
||||
}
|
||||
deleteFile(tempFile);
|
||||
setTempFile(tmp);
|
||||
}
|
||||
} catch (final IOException e) {
|
||||
log.error("Error generating funders file", e);
|
||||
|
@ -134,7 +132,7 @@ public class FunderService {
|
|||
funder.setAggregationDates(dates);
|
||||
}
|
||||
|
||||
public synchronized File getTempFile() {
|
||||
public File getTempFile() {
|
||||
return tempFile;
|
||||
}
|
||||
|
||||
|
|
|
@ -19,3 +19,5 @@ FROM
|
|||
LEFT OUTER JOIN dsm_organizationpids opids ON (o.id = opids.organization)
|
||||
LEFT OUTER JOIN dsm_identities pids ON (opids.pid = pids.pid)
|
||||
GROUP BY o.id;
|
||||
|
||||
GRANT ALL ON funders_view TO dnetapi;
|
||||
|
|
Loading…
Reference in New Issue