diff --git a/libnymea-core/jsonrpc/logginghandler.cpp b/libnymea-core/jsonrpc/logginghandler.cpp index d9b89723..ab1002a4 100644 --- a/libnymea-core/jsonrpc/logginghandler.cpp +++ b/libnymea-core/jsonrpc/logginghandler.cpp @@ -83,7 +83,7 @@ LoggingHandler::LoggingHandler(QObject *parent) : returns.insert("o:logEntries", objectRef()); returns.insert("count", enumValueName(Int)); returns.insert("offset", enumValueName(Int)); - registerMethod("GetLogEntries", description, params, returns); + registerMethod("GetLogEntries", description, params, returns, Types::PermissionScopeControlThings); // Notifications params.clear(); diff --git a/nymea.pro b/nymea.pro index c7e29087..8e63ce27 100644 --- a/nymea.pro +++ b/nymea.pro @@ -5,7 +5,7 @@ NYMEA_VERSION_STRING=$$system('dpkg-parsechangelog | sed -n -e "s/^Version: //p" # define protocol versions JSON_PROTOCOL_VERSION_MAJOR=7 -JSON_PROTOCOL_VERSION_MINOR=0 +JSON_PROTOCOL_VERSION_MINOR=1 JSON_PROTOCOL_VERSION="$${JSON_PROTOCOL_VERSION_MAJOR}.$${JSON_PROTOCOL_VERSION_MINOR}" LIBNYMEA_API_VERSION_MAJOR=7 LIBNYMEA_API_VERSION_MINOR=3 diff --git a/tests/auto/api.json b/tests/auto/api.json index 8f0eabb8..fa17d9d9 100644 --- a/tests/auto/api.json +++ b/tests/auto/api.json @@ -1,4 +1,4 @@ -7.0 +7.1 { "enums": { "BasicType": [ @@ -1341,7 +1341,7 @@ "Variant" ] }, - "permissionScope": "PermissionScopeAdmin", + "permissionScope": "PermissionScopeControlThings", "returns": { "count": "Int", "loggingError": "$ref:LoggingError",