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