Merge remote-tracking branch 'origin/Development' into roadmap
This commit is contained in:
commit
f76686728a
|
@ -146,7 +146,7 @@ public class DatasetProfileManager {
|
|||
if (principal.getAuthz().contains(Authorities.ADMIN)) {
|
||||
authItems = items;
|
||||
} else if (principal.getAuthz().contains(Authorities.DATASET_PROFILE_MANAGER)) {
|
||||
List<Integer> roles = Collections.singletonList(1);
|
||||
List<Integer> roles = Arrays.asList(0, 1);
|
||||
authItems = apiContext.getOperationsContext().getDatabaseRepository().getDatasetProfileDao().getAuthenticated(items, principal.getId(), roles);
|
||||
}
|
||||
QueryableList<DatasetProfile> pagedItems = PaginationManager.applyPaging(authItems, datasetProfileTableRequestItem);
|
||||
|
|
Loading…
Reference in New Issue