mirror of
https://github.com/lubosz/overte.git
synced 2025-04-25 12:52:52 +02:00
Update domain server to include permissions
This commit is contained in:
parent
da70071b5a
commit
d2abc42e8f
1 changed files with 6 additions and 0 deletions
|
@ -295,6 +295,12 @@ void DomainServerSettingsManager::setupConfigMap(const QStringList& argumentList
|
||||||
// persist the new config so the user config file has the correctly merged config
|
// persist the new config so the user config file has the correctly merged config
|
||||||
persistToFile();
|
persistToFile();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (oldVersion < 1.8) {
|
||||||
|
// This was prior to addition of domain content replacement, add that to localhost permissions by default
|
||||||
|
_standardAgentPermissions[NodePermissions::standardNameLocalhost]->set(NodePermissions::Permission::canReplaceDomainContent);
|
||||||
|
packPermissions();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
unpackPermissions();
|
unpackPermissions();
|
||||||
|
|
Loading…
Reference in a new issue