src/api2/access/role.rs: use schema ACL_ROLE_SCHEMA
This commit is contained in:
parent
ca257c8097
commit
aa90ced3bf
@ -17,8 +17,7 @@ use crate::config::acl::ROLE_NAMES;
|
|||||||
description: "User name with description.",
|
description: "User name with description.",
|
||||||
properties: {
|
properties: {
|
||||||
role: {
|
role: {
|
||||||
description: "Role name.",
|
schema: ACL_ROLE_SCHEMA,
|
||||||
type: String,
|
|
||||||
},
|
},
|
||||||
comment: {
|
comment: {
|
||||||
schema: SINGLE_LINE_COMMENT_SCHEMA,
|
schema: SINGLE_LINE_COMMENT_SCHEMA,
|
||||||
|
Loading…
Reference in New Issue
Block a user