src/api2/access/role.rs: use schema ACL_ROLE_SCHEMA

This commit is contained in:
Dietmar Maurer 2020-04-17 14:14:06 +02:00
parent ca257c8097
commit aa90ced3bf
1 changed files with 1 additions and 2 deletions

View File

@ -17,8 +17,7 @@ use crate::config::acl::ROLE_NAMES;
description: "User name with description.",
properties: {
role: {
description: "Role name.",
type: String,
schema: ACL_ROLE_SCHEMA,
},
comment: {
schema: SINGLE_LINE_COMMENT_SCHEMA,