mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-27 11:14:47 +03:00
Add permission for collection management
This commit is contained in:
@@ -13,6 +13,7 @@ namespace MediaBrowser.Model.Users
|
||||
public UserPolicy()
|
||||
{
|
||||
IsHidden = true;
|
||||
EnableCollectionManagement = false;
|
||||
|
||||
EnableContentDeletion = false;
|
||||
EnableContentDeletionFromFolders = Array.Empty<string>();
|
||||
@@ -73,6 +74,12 @@ namespace MediaBrowser.Model.Users
|
||||
/// <value><c>true</c> if this instance is hidden; otherwise, <c>false</c>.</value>
|
||||
public bool IsHidden { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance can manage collections.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is hidden; otherwise, <c>false</c>.</value>
|
||||
public bool EnableCollectionManagement { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is disabled.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user