Add thing added and removed logic depending on users thing permission
This commit is contained in:
parent
3d884e7c06
commit
88d1e4ce52
@ -348,7 +348,6 @@ UserManager::UserError UserManager::setUserScopes(const QString &username, Types
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
QString scopesString = Types::scopesToStringList(scopes).join(',');
|
||||
QString allowedThingIdsString = Types::thingIdsToStringList(thingIds).join(',');
|
||||
|
||||
@ -632,6 +631,7 @@ bool UserManager::verifyToken(const QByteArray &token)
|
||||
return false;
|
||||
}
|
||||
|
||||
//qCDebug(dcUserManager) << "Token authorized for user" << result.value("username").toString();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user