Merge PR #628: Allow users with ControlThings permission to read things logs
This commit is contained in:
commit
9f4c3bc27a
@ -83,7 +83,7 @@ LoggingHandler::LoggingHandler(QObject *parent) :
|
||||
returns.insert("o:logEntries", objectRef<LogEntries>());
|
||||
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();
|
||||
|
||||
@ -1328,7 +1328,7 @@
|
||||
"Variant"
|
||||
]
|
||||
},
|
||||
"permissionScope": "PermissionScopeAdmin",
|
||||
"permissionScope": "PermissionScopeControlThings",
|
||||
"returns": {
|
||||
"count": "Int",
|
||||
"loggingError": "$ref:LoggingError",
|
||||
|
||||
Reference in New Issue
Block a user