Ghost/core/test/regression
Naz Gargol 786eaac57e
Added permission restrictions to editing members flag (#11217)
no issue

- Added test cases to check edit permission on settings endpoints
- Added test to demonstrate owner-only being able to toggle members flag
- Permission check when editing settings `lab.members`
- Passed additional function to permissions to allow custom selection of unsafe attributes due to settings object structure.
- Fully implementing this check on controller level would be wrong architecturally and not that straight forward because we lack role data in "frame"
- Cleaned up test after moving default_content_visibility to it's own property
2019-10-09 10:26:54 +02:00
..
api Added permission restrictions to editing members flag (#11217) 2019-10-09 10:26:54 +02:00
apps/subscribers Separated test env into: acceptance, regression and unit tests (#10411) 2019-01-22 17:54:50 +01:00
exporter Separated test env into: acceptance, regression and unit tests (#10411) 2019-01-22 17:54:50 +01:00
importer Updated tests eslint config to use eslint-plugin-ghost@0.5.0 2019-08-19 13:38:35 +01:00
migrations Fixed regression tests for v2/admin/db 2019-08-09 10:57:49 +08:00
models 🐛 Fixed "unsaved changes" modal displaying when post has been saved 2019-10-07 22:59:19 +01:00
site Fixed regression tests expecting relative URLs for admin redirects 2019-09-09 15:52:26 +01:00
update-check Fixed regression test 2019-05-02 21:04:16 +02:00
README.md Separated test env into: acceptance, regression and unit tests (#10411) 2019-01-22 17:54:50 +01:00

Regression Tests

This folder should contain packages which we test in a cron job once per day. These tests should ensure that we don't break Ghost.

The goal is that most of these packages use Ghost's API's to test behaviours, otherwise transform the tests into unit tests.