Skip to content
Snippets Groups Projects
Commit 01dea8fe authored by Benaissa BENARBIA's avatar Benaissa BENARBIA
Browse files

remove files unused

parent d35ef6ed
No related branches found
No related tags found
1 merge request!51Merge mis a jour vitam-ui
......@@ -93,7 +93,7 @@ public class ArchivesSearchController extends AbstractUiRestController {
.filter(Objects::nonNull)
.flatMap(profileDto -> profileDto.getRoles().stream())
.anyMatch(role -> VitamuiRoles.ROLE_SEARCH_WITH_RULES.equals(role.getName()));
if (!hasSearchByRuleRole) {
LOGGER.info("You are not authorized to make a search with DUA criteria");
throw new ForbiddenException("You are not authorized to make a search with DUA criteria");
......
source diff could not be displayed: it is too large. Options to address this: view the blob.
File deleted
source diff could not be displayed: it is too large. Options to address this: view the blob.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment