mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-23 06:34:54 +03:00
Version 0.6.85
This commit is contained in:
parent
39ca25dcbf
commit
f939ce1f45
@ -1330,10 +1330,13 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
|
|||||||
|
|
||||||
// Add server TLS cert hash
|
// Add server TLS cert hash
|
||||||
var tlsCertHash = null;
|
var tlsCertHash = null;
|
||||||
|
// TODO: Once new mesh agents seem to work, re-enable this.
|
||||||
|
/*
|
||||||
if (parent.parent.args.ignoreagenthashcheck !== true) {
|
if (parent.parent.args.ignoreagenthashcheck !== true) {
|
||||||
tlsCertHash = parent.webCertificateFullHashs[domain.id];
|
tlsCertHash = parent.webCertificateFullHashs[domain.id];
|
||||||
if (tlsCertHash != null) { command.servertlshash = Buffer.from(tlsCertHash, 'binary').toString('hex'); }
|
if (tlsCertHash != null) { command.servertlshash = Buffer.from(tlsCertHash, 'binary').toString('hex'); }
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// Add user consent messages
|
// Add user consent messages
|
||||||
command.soptions = {};
|
command.soptions = {};
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "meshcentral",
|
"name": "meshcentral",
|
||||||
"version": "0.6.84",
|
"version": "0.6.85",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Remote Device Management",
|
"Remote Device Management",
|
||||||
"Remote Device Monitoring",
|
"Remote Device Monitoring",
|
||||||
|
@ -182,7 +182,7 @@
|
|||||||
"agentCustomization": {
|
"agentCustomization": {
|
||||||
"displayName": "Compagny® Product™",
|
"displayName": "Compagny® Product™",
|
||||||
"description": "Compagny® Product™ agent for remote monitoring, management and assistance.",
|
"description": "Compagny® Product™ agent for remote monitoring, management and assistance.",
|
||||||
"companyName": "Compagny®",
|
"companyName": "Compagny",
|
||||||
"serviceName": "compagnyagent"
|
"serviceName": "compagnyagent"
|
||||||
},
|
},
|
||||||
"_userAllowedIP": "127.0.0.1,192.168.1.0/24",
|
"_userAllowedIP": "127.0.0.1,192.168.1.0/24",
|
||||||
|
@ -3218,10 +3218,13 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
|
|||||||
|
|
||||||
// Instruct one of more agents to download a URL to a given local drive location.
|
// Instruct one of more agents to download a URL to a given local drive location.
|
||||||
var tlsCertHash = null;
|
var tlsCertHash = null;
|
||||||
|
// TODO: Once new mesh agents seem to work, re-enable this.
|
||||||
|
/*
|
||||||
if (parent.args.ignoreagenthashcheck !== true) {
|
if (parent.args.ignoreagenthashcheck !== true) {
|
||||||
tlsCertHash = obj.webCertificateFullHashs[cmd.domain.id];
|
tlsCertHash = obj.webCertificateFullHashs[cmd.domain.id];
|
||||||
if (tlsCertHash != null) { tlsCertHash = Buffer.from(tlsCertHash, 'binary').toString('hex'); }
|
if (tlsCertHash != null) { tlsCertHash = Buffer.from(tlsCertHash, 'binary').toString('hex'); }
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
for (var i in cmd.nodeids) {
|
for (var i in cmd.nodeids) {
|
||||||
obj.GetNodeWithRights(cmd.domain, cmd.user, cmd.nodeids[i], function (node, rights, visible) {
|
obj.GetNodeWithRights(cmd.domain, cmd.user, cmd.nodeids[i], function (node, rights, visible) {
|
||||||
if ((node == null) || ((rights & 8) == 0) || (visible == false)) return; // We don't have remote control rights to this device
|
if ((node == null) || ((rights & 8) == 0) || (visible == false)) return; // We don't have remote control rights to this device
|
||||||
|
Loading…
Reference in New Issue
Block a user