Created
April 7, 2015 19:04
-
-
Save daxroc/1c994e36889a8b3f69ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- url: /api/v1/user | |
script: user | |
# Requires login + admin | |
login: admin | |
auth_fail_action: unauthorized | |
- url: /api/v1/user/view | |
script: user.view | |
# Requires login but not admin | |
login: required | |
auth_fail_action: unauthorized | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment