Sfoglia il codice sorgente

update initial user permissions

Luke Pulverenti 9 anni fa
parent
commit
f15e534d41

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

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