0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/test
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
..
acceptance Added permission restrictions to editing members flag (#11217) 2019-10-09 10:26:54 +02:00
regression Added permission restrictions to editing members flag (#11217) 2019-10-09 10:26:54 +02:00
unit Permission restrictions for post.visibility modifications (#11213) 2019-10-08 15:44:27 +02:00
utils Added members CSV import to Admin API (#11197) 2019-10-03 19:59:19 +02:00
.eslintignore
.eslintrc.json Updated eslint for tests to allow async functions 2019-10-06 21:03:56 +07:00
.jshintrc