Fix ssowat/conf.json format
This commit is contained in:
		
							parent
							
								
									bd4144a5ba
								
							
						
					
					
						commit
						9481c0ff7e
					
				@ -86,12 +86,13 @@ pub struct Permission {
 | 
				
			|||||||
    public: bool,
 | 
					    public: bool,
 | 
				
			||||||
    show_tile: bool,
 | 
					    show_tile: bool,
 | 
				
			||||||
    uris: Vec<String>,
 | 
					    uris: Vec<String>,
 | 
				
			||||||
 | 
					    #[serde(default)]
 | 
				
			||||||
    use_remote_user_in_nginx_conf: bool,
 | 
					    use_remote_user_in_nginx_conf: bool,
 | 
				
			||||||
    users: Vec<Username>,
 | 
					    users: Vec<Username>,
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#[derive(Clone, Debug, Default, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize)]
 | 
					#[derive(Clone, Debug, Default, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize)]
 | 
				
			||||||
 | 
					#[serde(transparent)]
 | 
				
			||||||
pub struct PermissionName {
 | 
					pub struct PermissionName {
 | 
				
			||||||
    #[serde(flatten)]
 | 
					 | 
				
			||||||
    name: String,
 | 
					    name: String,
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user