Added a new permission to bypass the request limit

This commit is contained in:
Jamie.Rees 2016-12-09 13:23:18 +00:00
parent 4d0298bbea
commit 2dcf573526
2 changed files with 5 additions and 2 deletions

View file

@ -1234,7 +1234,7 @@ namespace PlexRequests.UI.Modules
if (IsAdmin)
return true;
if (ShouldAutoApprove(type,s,Username))
if (Security.HasPermissions(User, Permissions.BypassRequestLimit))
return true;
var requestLimit = GetRequestLimitForType(type, s);