update initial user permissions

This commit is contained in:
Luke Pulverenti 2016-04-05 15:34:27 -04:00
parent 9b5f7f2495
commit 0b4cffc3db

View file

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