src/api2/access/user.rs: remove useless description

The description is not used at all if we refer to a type.
This commit is contained in:
Dietmar Maurer 2020-05-20 11:27:58 +02:00
parent 49ff10921c
commit 0fafac2492

View File

@ -21,10 +21,7 @@ pub const PBS_PASSWORD_SCHEMA: Schema = StringSchema::new("User Password.")
returns: {
description: "List users (with config digest).",
type: Array,
items: {
type: user::User,
description: "User configuration (without password).",
},
items: { type: user::User },
},
access: {
permission: &Permission::Privilege(&["access", "users"], PRIV_SYS_AUDIT, false),