Browse Source

Merge pull request #18769 from runcom/docs-auth-1

docs: extend: authorization.md: add a note about confidential stuff in Err
Sebastiaan van Stijn 9 năm trước cách đây
mục cha
commit
eaf7932faf
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      docs/extend/authorization.md

+ 2 - 2
docs/extend/authorization.md

@@ -219,7 +219,7 @@ Name    | Type   | Description
 --------|--------|----------------------------------------------------------------------------------
 Allow   | bool   | Boolean value indicating whether the request is allowed or denied
 Msg     | string | Authorization message (will be returned to the client in case the access is denied)
-Err     | string | Error message (will be returned to the client in case the plugin encounter an error)
+Err     | string | Error message (will be returned to the client in case the plugin encounter an error. The string value supplied may appear in logs, so should not include confidential information)
 
 ### Response authorization
 
@@ -247,4 +247,4 @@ Name    | Type   | Description
 --------|--------|----------------------------------------------------------------------------------
 Allow   | bool   | Boolean value indicating whether the response is allowed or denied
 Msg     | string | Authorization message (will be returned to the client in case the access is denied)
-Err     | string | Error message (will be returned to the client in case the plugin encounter an error)
+Err     | string | Error message (will be returned to the client in case the plugin encounter an error. The string value supplied may appear in logs, so should not include confidential information)