update initial user permissions

pull/702/head
Luke Pulverenti 9 years ago
parent 6844b2a457
commit f15e534d41

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

Loading…
Cancel
Save