Made it so users that are in the whitelist do not have a request limit

pull/383/head
tidusjar 8 years ago
parent 0c3825905f
commit 7956f9f7ff

@ -880,6 +880,9 @@ namespace PlexRequests.UI.Modules
if (IsAdmin) if (IsAdmin)
return true; return true;
if (s.ApprovalWhiteList.Contains(Username))
return true;
var requestLimit = GetRequestLimitForType(type, s); var requestLimit = GetRequestLimitForType(type, s);
if (requestLimit == 0) if (requestLimit == 0)
{ {

@ -226,7 +226,7 @@
<p class="form-group">A comma separated list of users whose requests do not require approval.</p> <p class="form-group">A comma separated list of users whose requests do not require approval (These users also do not have a request limit).</p>
<div class="form-group"> <div class="form-group">
<label for="NoApprovalUsers" class="control-label">Approval White listed Users</label> <label for="NoApprovalUsers" class="control-label">Approval White listed Users</label>
<div> <div>

Loading…
Cancel
Save