Skip to content
Snippets Groups Projects
Commit 3cd8cc76 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

assets/admin/deposits: Remove deposits filtering by user for non staff

The deposits admin view is read only and there is no sensitive data
displayed here so we can remove the deposits filtering by username
for non staff users but with adequate permission.
parent c328c489
No related branches found
No related tags found
1 merge request!819assets/admin/deposits: Remove deposits filtering by user for non staff
......@@ -62,9 +62,6 @@ export function initDepositAdmin(username, isStaff) {
url: Urls.admin_deposit_list(),
data: d => {
d.excludePattern = $('#swh-admin-deposit-list-exclude-filter').val();
if (!isStaff) {
d.username = username;
}
}
},
columns: [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment