File | Statements | Branches | Functions | Lines | |||||
---|---|---|---|---|---|---|---|---|---|
associate-current-user.js | 94.74% | 18/19 | 92.86% | 13/14 | 100% | 2/2 | 94.74% | 18/19 | |
has-role-or-restrict.js | 75.34% | 55/73 | 71.88% | 46/64 | 62.5% | 5/8 | 74.65% | 53/71 | |
index.js | 100% | 7/7 | 100% | 0/0 | 100% | 0/0 | 100% | 7/7 | |
query-with-current-user.js | 93.75% | 15/16 | 91.67% | 11/12 | 100% | 1/1 | 93.75% | 15/16 | |
restrict-to-authenticated.js | 100% | 8/8 | 80% | 8/10 | 100% | 1/1 | 100% | 8/8 | |
restrict-to-owner.js | 89.47% | 34/38 | 81.58% | 31/38 | 100% | 3/3 | 89.19% | 33/37 | |
restrict-to-roles.js | 91.3% | 42/46 | 90.48% | 38/42 | 100% | 3/3 | 91.11% | 41/45 |