allow expensive endpoints to be disabled for non-admins #1474

Merged
merged 2 commits into from Apr 5, 2017

Conversation

Projects
None yet
2 participants
@tpetr
Member

tpetr commented Mar 28, 2017

Short circuits the /requests/active, /tasks/cleaning, /tasks/active endpoints to [] for non-Admins if EXPENSIVE_API_CALLS action is disabled.

@ssalinas @wsorenson

@ssalinas ssalinas modified the milestone: 0.15.0 Mar 30, 2017

@ssalinas ssalinas added the hs_stable label Apr 4, 2017

@ssalinas ssalinas merged commit a633dc8 into master Apr 5, 2017

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@ssalinas ssalinas deleted the expensive-api-action branch Apr 5, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment