ec72374651
- add possibility to grant an external user.
- route /api/users/{id} added (rate limited for security)
- security: start route limitation for external users
ex: they must not browse /api/users/{id} nor addressbook
30 lines
762 B
Rust
30 lines
762 B
Rust
pub mod admin_handler;
|
|
pub mod app_password_handler;
|
|
pub mod auth_handler;
|
|
pub mod batch_handler;
|
|
pub mod caldav_handler;
|
|
pub mod carddav_handler;
|
|
pub mod chunked_upload_handler;
|
|
pub mod contacts_handler;
|
|
pub mod dedup_handler;
|
|
pub mod device_auth_handler;
|
|
pub mod favorites_handler;
|
|
pub mod file_handler;
|
|
pub mod folder_handler;
|
|
pub mod grant_handler;
|
|
pub mod i18n_handler;
|
|
pub mod magic_link_handler;
|
|
pub mod music_handler;
|
|
pub mod photos_handler;
|
|
pub mod recent_handler;
|
|
pub mod search_handler;
|
|
pub mod share_handler;
|
|
pub mod subject_group_handler;
|
|
pub mod trash_handler;
|
|
pub mod users_handler;
|
|
pub mod webdav_handler;
|
|
pub mod wopi_handler;
|
|
|
|
/// Tipo de resultado para controladores de API
|
|
pub type ApiResult<T> = Result<T, (axum::http::StatusCode, String)>;
|