pub struct GroupDuplicateCreate {
pub copy_members: Option<bool>,
pub copy_permissions: Option<bool>,
pub copy_routines: Option<bool>,
pub new_name: Option<String>,
pub extra: Map<String, Value>,
}Expand description
Options for copying a group. newName must be supplied in the JSON body or query; query values take precedence. The copy flags default to false.
Fields§
§copy_members: Option<bool>Copy memberships, including statuses, roles, comments and member field values. Archived persons are excluded; group capacity is ignored and leaders are not informed.
copy_permissions: Option<bool>Copy group-role permissions and permission inheritance settings. Locked permissions are omitted unless the current user is an authorized person.
copy_routines: Option<bool>Copy membership routines and prepare their potential runs for the new group.
new_name: Option<String>Name of the copy, trimmed before validation. Required in either the query or JSON body. The validator accepts up to 255 characters, but the stored group name column is limited to 100.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.