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:
parent
49ff10921c
commit
0fafac2492
|
@ -21,10 +21,7 @@ pub const PBS_PASSWORD_SCHEMA: Schema = StringSchema::new("User Password.")
|
||||||
returns: {
|
returns: {
|
||||||
description: "List users (with config digest).",
|
description: "List users (with config digest).",
|
||||||
type: Array,
|
type: Array,
|
||||||
items: {
|
items: { type: user::User },
|
||||||
type: user::User,
|
|
||||||
description: "User configuration (without password).",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
access: {
|
access: {
|
||||||
permission: &Permission::Privilege(&["access", "users"], PRIV_SYS_AUDIT, false),
|
permission: &Permission::Privilege(&["access", "users"], PRIV_SYS_AUDIT, false),
|
||||||
|
|
Loading…
Reference in New Issue