mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 09:33:49 +02:00
default kick perms for localhost
This commit is contained in:
parent
f04996a53d
commit
eaf52ae111
2 changed files with 10 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": 1.5,
|
||||
"version": 1.6,
|
||||
"settings": [
|
||||
{
|
||||
"name": "metaverse",
|
||||
|
|
|
@ -273,6 +273,15 @@ void DomainServerSettingsManager::setupConfigMap(const QStringList& argumentList
|
|||
// This was prior to operating hours, so add default hours
|
||||
validateDescriptorsMap();
|
||||
}
|
||||
|
||||
if (oldVersion < 1.6) {
|
||||
unpackPermissions();
|
||||
|
||||
// This was prior to addition of kick permissions, add that to localhost permissions by default
|
||||
_standardAgentPermissions[NodePermissions::standardNameLocalhost]->set(NodePermissions::Permission::canKick);
|
||||
|
||||
packPermissions();
|
||||
}
|
||||
}
|
||||
|
||||
unpackPermissions();
|
||||
|
|
Loading…
Reference in a new issue