App engine features #1
| @ -552,7 +552,9 @@ impl BrainData { | ||||
|             .operators | ||||
|             .get_mut(operator) | ||||
|             .ok_or(Error::AccessDenied)?; | ||||
|         if !operator_data.vm_nodes.contains(&node_pubkey) { | ||||
|         if !(operator_data.vm_nodes.contains(&node_pubkey) | ||||
|             || operator_data.app_nodes.contains(&node_pubkey)) | ||||
|         { | ||||
|             return Err(Error::AccessDenied); | ||||
|         } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user