Bug 14868: Use x-koha-authorization in current routes
[koha.git] / api / v1 / swagger / paths / patrons.json
index f7c6400..67632e1 100644 (file)
             "$ref": "../definitions.json#/error"
           }
         }
+      },
+      "x-koha-authorization": {
+        "permissions": {
+          "borrowers": "1"
+        }
       }
     }
   },
             "$ref": "../definitions.json#/error"
           }
         }
+      },
+      "x-koha-authorization": {
+        "allow-owner": true,
+        "allow-guarantor": true,
+        "permissions": {
+          "borrowers": "1"
+        }
       }
     }
   }