2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00
Ghost/core/test
Katharina Irrgang 60558a776f 🐛 be able to serve locked users (#8711)
closes #8645, closes #8710

- locked users were once part of the category "active users", but were moved to the inactive category
  -> we have added a protection of not being able to edit yourself when you are either suspended or locked
- but they are not really active users, they are restricted, because they have no access to the admin panel
- support three categories: active, inactive, restricted

* - revert restricted states
- instead, update permission layer: fallback to `all` by default, because you are able to serve any user status
- add more tests

- ATTENTION: there is a behaviour change, that a blog owner's author page can be served before setting up the blog, see conversation on slack
   -> LTS serves 404
   -> 1.0 would serve 200
2017-07-20 12:45:13 +01:00
..
functional 🐛 be able to serve locked users (#8711) 2017-07-20 12:45:13 +01:00
integration 🐛 be able to serve locked users (#8711) 2017-07-20 12:45:13 +01:00
unit 🐛 be able to serve locked users (#8711) 2017-07-20 12:45:13 +01:00
utils 🐛 be able to serve locked users (#8711) 2017-07-20 12:45:13 +01:00
.jshintrc Remove jshint rules that are no longer supported 2015-01-23 21:00:37 +00:00