From a8486a7b3b65331b71357a1ecf9228d129bebfcd Mon Sep 17 00:00:00 2001 From: Niels van Velzen Date: Tue, 27 Jun 2023 13:58:54 +0200 Subject: [PATCH] Add default value to OpenAPI specification for UserPolicy.EnableCollectionManagement This fixes a breaking API change during authentication --- MediaBrowser.Model/Users/UserPolicy.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MediaBrowser.Model/Users/UserPolicy.cs b/MediaBrowser.Model/Users/UserPolicy.cs index 80f5e2c37e..8354c60efb 100644 --- a/MediaBrowser.Model/Users/UserPolicy.cs +++ b/MediaBrowser.Model/Users/UserPolicy.cs @@ -2,6 +2,7 @@ #pragma warning disable CS1591, CA1819 using System; +using System.ComponentModel; using System.Xml.Serialization; using Jellyfin.Data.Enums; using AccessSchedule = Jellyfin.Data.Entities.AccessSchedule; @@ -79,6 +80,7 @@ namespace MediaBrowser.Model.Users /// Gets or sets a value indicating whether this instance can manage collections. /// /// true if this instance is hidden; otherwise, false. + [DefaultValue(false)] public bool EnableCollectionManagement { get; set; } ///