Explorar o código

update initial user permissions

Luke Pulverenti %!s(int64=9) %!d(string=hai) anos
pai
achega
0b4cffc3db
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      MediaBrowser.Server.Implementations/Library/UserManager.cs

+ 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);
             }