Browse Source

update initial user permissions

Luke Pulverenti 9 years ago
parent
commit
f15e534d41
1 changed files with 1 additions and 0 deletions
  1. 1 0
      MediaBrowser.Server.Implementations/Library/UserManager.cs

+ 1 - 0
MediaBrowser.Server.Implementations/Library/UserManager.cs

@@ -352,6 +352,7 @@ namespace MediaBrowser.Server.Implementations.Library
                 users.Add(user);
                 users.Add(user);
 
 
                 user.Policy.IsAdministrator = true;
                 user.Policy.IsAdministrator = true;
+                user.Policy.EnableContentDeletion = true;
                 user.Policy.EnableRemoteControlOfOtherUsers = true;
                 user.Policy.EnableRemoteControlOfOtherUsers = true;
                 await UpdateUserPolicy(user, user.Policy, false).ConfigureAwait(false);
                 await UpdateUserPolicy(user, user.Policy, false).ConfigureAwait(false);
             }
             }