Thread:Extension talk:VisualEditor/Is picture search in VE wikicommons only?/reply (16)

More details: The problem occurs on a private wiki. It works fine when $wgGroupPermissions['*']['read'] = true; but when it is set to false then images are not found in the media selector.

My relevant permissions settings are:

$wgGroupPermissions['*']['read'] = false; # works for true $wgGroupPermissions['*']['edit'] = false; if ( $_SERVER['REMOTE_ADDR'] == "127.0.0.1") { $wgGroupPermissions['*']['read'] = true; $wgGroupPermissions['*']['edit'] = true; }

The if condition allows VE local access (I also tried cookie forwarding with same results). When I set the first line to true, it works. Two questions:
 * Why does the VE image selector not use the permissions for local access from inside the if statement?
 * Is there any setting that gives VE specifically access to the images without opening the whole Wiki?

Thanks