Fix minor authentication issue
This commit is contained in:
parent
f86ba70d24
commit
168b634681
|
@ -196,7 +196,9 @@ public class DashBoardManager {
|
||||||
DMPDao dataManagementPlanRepository = databaseRepository.getDmpDao();
|
DMPDao dataManagementPlanRepository = databaseRepository.getDmpDao();
|
||||||
DatasetDao datasetRepository = databaseRepository.getDatasetDao();
|
DatasetDao datasetRepository = databaseRepository.getDatasetDao();
|
||||||
UserInfo user = new UserInfo();
|
UserInfo user = new UserInfo();
|
||||||
|
if (isAuthenticated) {
|
||||||
user.setId(principal.getId());
|
user.setId(principal.getId());
|
||||||
|
}
|
||||||
DatasetCriteria datasetCriteria = new DatasetCriteria();
|
DatasetCriteria datasetCriteria = new DatasetCriteria();
|
||||||
datasetCriteria.setLike(tableRequest.getCriteria().getLike());
|
datasetCriteria.setLike(tableRequest.getCriteria().getLike());
|
||||||
datasetCriteria.setAllVersions(false);
|
datasetCriteria.setAllVersions(false);
|
||||||
|
|
Loading…
Reference in New Issue