Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P4121
api errors testing
Active
Public
Actions
Authored by
Prtksxna
on Sep 27 2016, 2:22 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
FileAnnotations
Referenced Files
F4529783: api errors testing
Sep 27 2016, 2:22 PM
2016-09-27 14:22:54 (UTC+0)
Subscribers
MarkTraceur
Testing case (when IP editing is blocked):
1. Add annotation, log out in another tab, add annotation
"error":{"code":"permissiondenied","info":"Permission denied","*":"See http://localhost:8080/w/api.php for API usage"}}
2. Log out in another tab, add annotation
{"error":{"code":"permissiondenied","info":"Permission denied","*":"See http://localhost:8080/w/api.php for API usage"}}
3. Add annotation, logout in another tab, login as another user, add annotation
Saves the next annotation as the newly logged in user
4. Logout in another tab, login as another user, add annotation
Saves the annotation as the newly logged in user
Event Timeline
Prtksxna
created this paste.
Sep 27 2016, 2:22 PM
2016-09-27 14:22:54 (UTC+0)
Log In to Comment