fix(swagger): EE-868: elide the password field in the swagger docs (#5636)
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
@@ -15,6 +15,7 @@ import (
|
||||
// @id UserInspect
|
||||
// @summary Inspect a user
|
||||
// @description Retrieve details about a user.
|
||||
// @description User passwords are filtered out, and should never be accessible.
|
||||
// @description **Access policy**: administrator
|
||||
// @tags users
|
||||
// @security jwt
|
||||
|
||||
@@ -12,6 +12,7 @@ import (
|
||||
// @summary List users
|
||||
// @description List Portainer users.
|
||||
// @description Non-administrator users will only be able to list other non-administrator user accounts.
|
||||
// @description User passwords are filtered out, and should never be accessible.
|
||||
// @description **Access policy**: restricted
|
||||
// @tags users
|
||||
// @security jwt
|
||||
|
||||
Reference in New Issue
Block a user