Commit 63f27050 authored by Alessio Netti's avatar Alessio Netti
Browse files

Fixed parsing of REST API PUT permissions in config files

parent 04584c17
......@@ -152,7 +152,7 @@ bool GlobalConfiguration::readRestAPIUsers(RESTHttpsServer* server) {
#ifdef DEBUG
LOG(info) << " Permission \"PUT\"";
#endif
attributes.second[POST] = true;
attributes.second[PUT] = true;
} else if (boost::iequals(perm.first, "POST")) {
#ifdef DEBUG
LOG(info) << " Permission \"POST\"";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment