aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Users/UserPolicy.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2015-02-09 16:58:30 -0500
committerLuke <luke.pulverenti@gmail.com>2015-02-09 16:58:30 -0500
commit4cc3b2f0ccd7c092a4acf72db4903415e175037a (patch)
treef9f90f8665b726253b8b357674f2f141aa43abc9 /MediaBrowser.Model/Users/UserPolicy.cs
parente7037a9b80843c127712f11430239f8fa3cb4aed (diff)
parent3d7089a7dbabb652730c892206ca050f52f832b1 (diff)
Merge pull request #1005 from MediaBrowser/dev
3.0.5518.0
Diffstat (limited to 'MediaBrowser.Model/Users/UserPolicy.cs')
-rw-r--r--MediaBrowser.Model/Users/UserPolicy.cs21
1 files changed, 17 insertions, 4 deletions
diff --git a/MediaBrowser.Model/Users/UserPolicy.cs b/MediaBrowser.Model/Users/UserPolicy.cs
index 0a6a37696..410cdc51f 100644
--- a/MediaBrowser.Model/Users/UserPolicy.cs
+++ b/MediaBrowser.Model/Users/UserPolicy.cs
@@ -42,7 +42,8 @@ namespace MediaBrowser.Model.Users
public bool EnableMediaPlayback { get; set; }
public bool EnableContentDeletion { get; set; }
-
+ public bool EnableContentDownloading { get; set; }
+
/// <summary>
/// Gets or sets a value indicating whether [enable synchronize].
/// </summary>
@@ -52,6 +53,12 @@ namespace MediaBrowser.Model.Users
public string[] EnabledDevices { get; set; }
public bool EnableAllDevices { get; set; }
+ public string[] EnabledChannels { get; set; }
+ public bool EnableAllChannels { get; set; }
+
+ public string[] EnabledFolders { get; set; }
+ public bool EnableAllFolders { get; set; }
+
public UserPolicy()
{
EnableLiveTvManagement = true;
@@ -59,17 +66,23 @@ namespace MediaBrowser.Model.Users
EnableLiveTvAccess = true;
EnableSharedDeviceControl = true;
- BlockedMediaFolders = new string[] { };
BlockedTags = new string[] { };
- BlockedChannels = new string[] { };
BlockUnratedItems = new UnratedItem[] { };
EnableUserPreferenceAccess = true;
AccessSchedules = new AccessSchedule[] { };
+ EnableAllChannels = true;
+ EnabledChannels = new string[] { };
+
+ EnableAllFolders = true;
+ EnabledFolders = new string[] { };
+
EnabledDevices = new string[] { };
EnableAllDevices = true;
+
+ EnableContentDownloading = true;
}
}
-}
+} \ No newline at end of file