Ghost/core/test
kirrg001 e347163940 Removed bypassing option filtering in User model
no issue

- the logic here bypasses filtering options!
- that is wrong, because if we filter out certain options e.g. include
- the tests from the previous commit fail because of this
- if we don't fix this logic, the tests won't pass, because as said, you can bypass certain logic e.g. remove roles from include
- this has worked before, because we passed the wrong options via the API layer
- was introduced here 014e2c88dd, because of https://github.com/TryGhost/Ghost/pull/6122
- add proper tests to proof that these queries work!!
2017-09-28 10:18:18 +01:00
..
functional Removed bypassing option filtering in User model 2017-09-28 10:18:18 +01:00
integration 🐛 Fixed persistent upgrade notifications showing for the currently installed version (#9048) 2017-09-25 12:22:56 +01:00
unit Support for attribute-based permissions (#9025) 2017-09-26 18:06:14 +02:00
utils Added role-specifics to post API tests (#9058) 2017-09-26 16:50:26 +02:00
.jshintrc Remove jshint rules that are no longer supported 2015-01-23 21:00:37 +00:00