adsabs / biblib-service

ADS library service
https://ui.adsabs.harvard.edu
MIT License
4 stars 8 forks source link

Tests to address admin permissions, issue #10 #19

Closed jonnybazookatone closed 9 years ago

jonnybazookatone commented 9 years ago

Epic test included to test the usage of admin permissions. The admin can manipulate other users, except the owner. The admin can also not modify the owner value of any other user.

View and webservice tests included.

New exception included when someone tries to modify values other than, 'read', 'write', and 'admin'.

coveralls commented 9 years ago

Coverage Status

Coverage increased (+0.97%) to 94.49% when pulling 0dcb1496bce0acfe75658ecf0323cb7d89f75709 on jonnybazookatone:feature/test-big-share-admin-epic into 078a8fb0114d8f57c2974edc49d0a70d3d31a9b3 on adsabs:master.