feat: Transfer ownership (#396)
* feat: Transfer ownership Signed-off-by: LazyCat2 <68156188+LazyCat2@users.noreply.github.com> * Allow privileged users to change ownership Signed-off-by: LazyCat2 <68156188+LazyCat2@users.noreply.github.com> * Require TOTP Signed-off-by: LazyCat2 <68156188+LazyCat2@users.noreply.github.com> * Require TOTP or password Signed-off-by: LazyCat2 <68156188+LazyCat2@users.noreply.github.com> --------- Signed-off-by: LazyCat2 <68156188+LazyCat2@users.noreply.github.com> Signed-off-by: Tom <iamtomahawkx@gmail.com> Co-authored-by: Tom <iamtomahawkx@gmail.com>
This commit is contained in:
@@ -252,6 +252,9 @@ auto_derived!(
|
||||
/// Must be enabled in order to show up on [Revolt Discover](https://rvlt.gg).
|
||||
pub analytics: Option<bool>,
|
||||
|
||||
/// User id of the new owner
|
||||
pub owner: Option<String>,
|
||||
|
||||
/// Fields to remove from server object
|
||||
#[cfg_attr(feature = "serde", serde(default))]
|
||||
pub remove: Vec<FieldsServer>,
|
||||
|
||||
Reference in New Issue
Block a user