diff 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
line wrap: on
line diff
--- a/Plugin/AuthorizationWebService.cpp	Fri Sep 08 09:52:21 2023 +0200
+++ b/Plugin/AuthorizationWebService.cpp	Sat Sep 09 13:17:38 2023 +0200
@@ -422,7 +422,7 @@
 
       if (profile.authorizedLabels.size() == 0)
       {
-        LOG(WARNING) << "The UserProfile does not contain any authorized labels, you should add, e.g, \"authorized_labels\": [\"*\"] to grant him access to all labels !";
+        LOG(WARNING) << "The UserProfile for '" << profile.name << "' does not contain any authorized labels";
       }
 
       return true;