mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-07 18:24:19 -04:00
update initial user permissions
This commit is contained in:
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…
x
Reference in New Issue
Block a user