mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
Removed the whitelist
This commit is contained in:
parent
4a63d3601a
commit
121cf90ba7
4 changed files with 3 additions and 43 deletions
|
@ -302,11 +302,6 @@ namespace PlexRequests.Services.Jobs
|
|||
|
||||
public bool ShouldAutoApprove(RequestType requestType, PlexRequestSettings prSettings, List<string> username)
|
||||
{
|
||||
if (prSettings.ApprovalWhiteList.Intersect(username).Any())
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
foreach (var user in username)
|
||||
{
|
||||
var admin = Security.HasPermissions(user, Permissions.Administrator);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue