chg: [connection test] clarified that read only users can pull.

- Reduced error level to "orange"
- Added a clarification that they can still pull
pull/7037/head
iglocska 2021-02-11 17:46:32 +01:00
parent 30a0798e97
commit bf8bd21a35
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ class AppController extends Controller
public $helpers = array('OrgImg', 'FontAwesome', 'UserName', 'DataPathCollector');
private $__queryVersion = '122';
private $__queryVersion = '123';
public $pyMispVersion = '2.4.138';
public $phpmin = '7.2';
public $phprec = '7.4';

View File

@ -3572,10 +3572,10 @@ function testConnection(id) {
html += '<span class="red bold" title="Authentication failed because the sync user on the remote has not accepted the terms of use. Log into the remote MISP to rectify this.">Terms not accepted</span>';
break;
case 7:
html += '<span class="red bold" title="The user account on the remote instance is not a sync user.">Remote user not a sync user</span>';
html += '<span class="orange bold" title="The user account on the remote instance is not a sync user.">Remote user not a sync user, only pulling events is available.</span>';
break;
case 8:
html += '<span class="orange bold" title="The user account on the remote instance is only a sightings user.">Remote user not a sync user, syncing sightings only</span>';
html += '<span class="orange bold" title="The user account on the remote instance is only a sightings user.">Remote user not a sync user, only pulling events is available. Pushing availale for sightings only</span>';
break;
}