List<String> paths = pathsWrapper.getStrings();
for ( String path : paths ) {
List<Setting> permList = doGetCanAccessList( path, permissions );
for ( Setting perm : permList ) {
if ( Boolean.parseBoolean( perm.getValue() ) ) {
Setting setting = new Setting();
setting.setName( path );
setting.setValue( perm.getName() );
pathsPermissonsSettings.add( setting );
}
}
}
return pathsPermissonsSettings;