Last active
January 4, 2016 21:49
-
-
Save subhashb/8683916 to your computer and use it in GitHub Desktop.
Access for KayPs for update API
This file contains hidden or 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
Api::V1::AssetsController | |
GET /assets/:id/kayps_for_update | |
when called | |
return the Kps that use an asset | |
should only return a Kp once even if it uses the asset many times | |
should flag the KPs that use old versions of the asset | |
access restrictions | |
for a learner returns 403 | |
for a publisher returns 200 | |
for an admin returns 200 | |
for a superadmin returns 200 | |
Finished in 6.18 seconds | |
7 examples, 0 failures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment