Skip to content

Commit

Permalink
Update ManagePermissionsPage.java
Browse files Browse the repository at this point in the history
  • Loading branch information
scolapasta authored Feb 11, 2022
1 parent 4a03b49 commit 53914de
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,8 @@ public List<DataverseRole> getAvailableRoles() {
}

} else if (dvObject instanceof DataFile) {
// TODO: consider changing the logic here to be more like for Dataset
// in order to capture new roles that get added having only File scoped permissions
roles.add(roleService.findBuiltinRoleByAlias(DataverseRole.FILE_DOWNLOADER));
}

Expand Down

0 comments on commit 53914de

Please sign in to comment.