Merge pull request #10410 from Ch1nkara/add-users-permission-to-edit-subtitles

add EnableSubtitleManagement permission
This commit is contained in:
Claus Vium
2023-10-27 09:44:52 +02:00
committed by GitHub
7 changed files with 26 additions and 4 deletions

View File

@@ -15,6 +15,7 @@ namespace MediaBrowser.Model.Users
{
IsHidden = true;
EnableCollectionManagement = false;
EnableSubtitleManagement = false;
EnableContentDeletion = false;
EnableContentDeletionFromFolders = Array.Empty<string>();
@@ -83,6 +84,13 @@ namespace MediaBrowser.Model.Users
[DefaultValue(false)]
public bool EnableCollectionManagement { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance can manage subtitles.
/// </summary>
/// <value><c>true</c> if this instance is allowed; otherwise, <c>false</c>.</value>
[DefaultValue(false)]
public bool EnableSubtitleManagement { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is disabled.
/// </summary>