mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 15:42:39 +02:00
There is no anon restriction - only open, hifi, acl
This commit is contained in:
parent
c63ee8d4f6
commit
5554b0bf2c
1 changed files with 1 additions and 2 deletions
|
@ -115,7 +115,6 @@ void DomainMetadata::securityChanged(bool send) {
|
|||
auto& state = *static_cast<QVariantMap*>(_metadata[DESCRIPTORS].data());
|
||||
|
||||
const QString RESTRICTION_OPEN = "open";
|
||||
const QString RESTRICTION_ANON = "anon";
|
||||
const QString RESTRICTION_HIFI = "hifi";
|
||||
const QString RESTRICTION_ACL = "acl";
|
||||
|
||||
|
@ -127,7 +126,7 @@ void DomainMetadata::securityChanged(bool send) {
|
|||
bool hasHifiAccess = settingsManager.getStandardPermissionsForName(NodePermissions::standardNameLoggedIn).can(
|
||||
NodePermissions::Permission::canConnectToDomain);
|
||||
if (hasAnonymousAccess) {
|
||||
restriction = hasHifiAccess ? RESTRICTION_OPEN : RESTRICTION_ANON;
|
||||
restriction = RESTRICTION_OPEN;
|
||||
} else if (hasHifiAccess) {
|
||||
restriction = RESTRICTION_HIFI;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue