Path: redb/redb.Core/Models/Configuration/UserConfigurationProps.cs Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Core/Models/Configuration/UserConfigurationProps.cs ---- using System; using redb.Core.Attributes; using redb.Core.Models.Entities; namespace redb.Core.Models.Configuration { /// /// User configuration - personal settings and quotas /// All fields are nullable - null means "not overridden, take from higher configuration" /// Priority chain: RedbServiceConfiguration (sys) -> Default User Config -> Role Config -> User Config /// [RedbScheme("User configuration")] public class UserConfigurationProps { // === CACHE QUOTAS === /// /// Not applied: the props cache has one process-wide limit, /// , and no quota per user. The value is /// still stored with the configuration object, and no longer merged into /// . /// [Obsolete("Not applied: the props cache has one process-wide limit, RedbServiceConfiguration.PropsCacheMaxSize. " + "The value is stored but no longer merged into the effective configuration.")] public int? PropsCacheSize { get; set; } /// /// User list cache quota /// null = use value from higher configuration /// public int? ListCacheSize { get; set; } /// /// Object cache TTL (in minutes) /// null = use value from higher configuration /// public int? PropsCacheTtlMinutes { get; set; } /// /// List cache TTL (in minutes) /// null = use value from higher configuration /// public int? ListCacheTtlMinutes { get; set; } // === LOADING LIMITS === /// /// Maximum object loading depth /// null = use value from higher configuration /// public int? MaxLoadDepth { get; set; } /// /// Maximum tree depth /// null = use value from higher configuration /// public int? MaxTreeDepth { get; set; } // === PERFORMANCE === // === SECURITY === /// /// Always check permissions on load /// null = use value from higher configuration /// public bool? AlwaysCheckPermissionsOnLoad { get; set; } /// /// Always check permissions on save /// null = use value from higher configuration /// public bool? AlwaysCheckPermissionsOnSave { get; set; } // === API QUOTAS === /// /// Maximum number of requests per minute /// null = no limits or use value from higher configuration /// public int? MaxRequestsPerMinute { get; set; } /// /// Maximum batch operation size /// null = use value from higher configuration /// public int? MaxBatchSize { get; set; } // === STRATEGIES === /// /// How a save writes the Props of an object (DeleteInsert or ChangeTracking) /// null = use value from higher configuration /// public PropsSaveStrategy? PropsSaveStrategy { get; set; } // === METADATA === /// /// Configuration description /// public string? Description { get; set; } /// /// Configuration priority (for roles) /// Higher priority means more important configuration during merging /// User configurations are always applied last /// public int Priority { get; set; } = 0; } }