mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 15:56:05 -07:00
Added a new permission to bypass the request limit
This commit is contained in:
parent
4d0298bbea
commit
2dcf573526
2 changed files with 5 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue