reporting/src/reporting.cpp
void reporting::appoint(name user) {
	user_t users( _self, _self.value );
	auto iterator = users.find(user.value);
	check( !(iterator == users.end()), "No such user on the blockchain.");
	check( !(iterator->frozen), "This user is frozen.");
	check( iterator->statusR >= statusThreshold, "The user did not earn enough status points to become a verificator.");
	users.modify(iterator, _self, [&]( auto& row ) { 
	  row.verificator = 1; 
	});
}
/**
 * Private Method for appoint a user to grant him the verificator permission. 
 * This Method is called by another method. 
 * The user has to have earned enough status points by reporting data to the Incident Reporting Plattform.
 */
Private Method for appoint a user to grant him the verificator permission.
This Method is called by another method.
The user has to have earned enough status points by reporting data to the Incident Reporting Plattform.
Private Method for appoint a user to grant him the verificator permission . This Method is called by another method . The user has to have earned enough status points by reporting data to the Incident Reporting Plattform .
void reporting::appoint(name user) {
	user_t users( _self, _self.value );
	auto iterator = users.find(user.value);
	check( !(iterator == users.end()), "No such user on the blockchain.");
	check( !(iterator->frozen), "This user is frozen.");
	check( iterator->statusR >= statusThreshold, "The user did not earn enough status points to become a verificator.");
	users.modify(iterator, _self, [&]( auto& row ) { 
	  row.verificator = 1; 
	});
}
void reporting :: appoint ( name user ) { user_t users ( _self , _self . value ) ; auto iterator = users . find ( user . value ) ; check ( ! ( iterator == users . end ( ) ) , " " ) ; check ( ! ( iterator -> frozen ) , " " ) ; check ( iterator -> statusR >= statusThreshold , " " ) ; users . modify ( iterator , _self , [ & ] ( auto & row ) { row . verificator = 1 ; } ) ; }
Private Method for appoint a user to grant him the verificator permission.
Private Method for appoint a user to grant him the verificator permission .