Răsfoiți Sursa

update initial user permissions

Luke Pulverenti 9 ani în urmă
părinte
comite
0b4cffc3db

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

@@ -355,6 +355,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);
             }