F #1377: Added new funtion to check lock state with oneadmin. Missing

action names. Functions to test oneadmin or admin roles
This commit is contained in:
Ruben S. Montero committed 2018-05-23 14:42:57 +02:00
1 parent ad5f6ff4cf
commit d7ce29183c
28 files changed
+453 -503

No files matched your search

+2 -2
View File
@@ -63,7 +63,7 @@ void SystemSql::request_execute(xmlrpc_c::paramList const& paramList,
SqlDB * db;
if ( att.uid != 0 )
if (!att.is_oneadmin())
{
att.resp_id = -1;
@@ -164,7 +164,7 @@ void SystemSqlQuery::request_execute(xmlrpc_c::paramList const& paramList,
std::string result;
if ( att.uid != 0 )
if (!att.is_oneadmin())
{
att.resp_id = -1;