pub struct PermissionAssignmentSummary {
pub assignments: PermissionAssignmentSummaryAssignments,
pub auth_id: i64,
pub data_id: Option<i64>,
pub effective_person_count: i64,
pub extra: Map<String, Value>,
}Expand description
Assignment breakdown for one global permission selection. effectivePersonCount includes all effective sources, but the breakdown only groups status, group-type-role, group-role and direct-person sources. Logged-in defaults, public-user rights and super-admin status can therefore contribute to the total without appearing in assignments.
Fields§
§assignments: PermissionAssignmentSummaryAssignmentsNonempty assignment sources only. Status, group-type and group entries are sorted numerically by their IDs; role IDs within them are unique and sorted. Counts are distinct per entry but overlap across entries.
auth_id: i64Numeric permission key
data_id: Option<i64>Selected permission value, or null for boolean permissions
effective_person_count: i64Total number of distinct non-archived persons with the effective permission
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.