0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core
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
..
client@90706d0b38 Updated Ghost-Admin to 1.9.1 2017-09-26 14:49:00 +01:00
server Removed bypassing option filtering in User model 2017-09-28 10:18:18 +01:00
test Removed bypassing option filtering in User model 2017-09-28 10:18:18 +01:00
index.js