comparison Plugin/AuthorizationWebService.cpp @ 116:89eddd4b2f6a

tested resource token for WADO-RS
author Alain Mazy <am@osimis.io>
date Sat, 09 Sep 2023 13:17:38 +0200
parents 0eed78c1e177
children 9be1ee2b8fe1
comparison
equal deleted inserted replaced
115:0eed78c1e177 116:89eddd4b2f6a
420 420
421 FromJson(profile, jsonProfile); 421 FromJson(profile, jsonProfile);
422 422
423 if (profile.authorizedLabels.size() == 0) 423 if (profile.authorizedLabels.size() == 0)
424 { 424 {
425 LOG(WARNING) << "The UserProfile does not contain any authorized labels, you should add, e.g, \"authorized_labels\": [\"*\"] to grant him access to all labels !"; 425 LOG(WARNING) << "The UserProfile for '" << profile.name << "' does not contain any authorized labels";
426 } 426 }
427 427
428 return true; 428 return true;
429 } 429 }
430 catch (Orthanc::OrthancException& ex) 430 catch (Orthanc::OrthancException& ex)