flatten use hierarchy for api::Permissions

This commit is contained in:
Dietmar Maurer 2020-04-10 15:43:49 +02:00
parent 7ec6448db8
commit 5d73e4b8e8
2 changed files with 5 additions and 2 deletions

View File

@ -15,7 +15,9 @@ pub mod const_regex;
pub mod error;
pub mod schema;
pub mod section_config;
pub mod permission;
mod permission;
pub use permission::*;
#[doc(inline)]
pub use const_regex::ConstRegexPattern;

View File

@ -11,7 +11,8 @@ use serde_json::Value;
use crate::api::schema::{self, ObjectSchema, Schema};
use crate::api::RpcEnvironment;
use super::permission::Permission;
use super::Permission;
/// A synchronous API handler gets a json Value as input and returns a json Value as output.
///