Fix ssowat/conf.json format

This commit is contained in:
selfhoster selfhoster 2023-08-26 14:01:03 +00:00
parent bd4144a5ba
commit 9481c0ff7e

View File

@ -86,12 +86,13 @@ pub struct Permission {
public: bool,
show_tile: bool,
uris: Vec<String>,
#[serde(default)]
use_remote_user_in_nginx_conf: bool,
users: Vec<Username>,
}
#[derive(Clone, Debug, Default, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize)]
#[serde(transparent)]
pub struct PermissionName {
#[serde(flatten)]
name: String,
}