Ghost/test/unit/models
Nazar Gargol 2d41e5cc88 🐛 Fixed permission for "Administrator" to be able to edit post visibility
closes #11825

- The initial implementation had a typo in a role name which didn't allow "Administrator" to edit post's "visibility" attribute
- Added unit tests to check administrator specific role and visibility attribute permission
2020-05-20 17:47:27 +12:00
..
base Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
plugins Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
api-key_spec.js Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
integration_spec.js Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
invite_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
member_spec.js Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
permission_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
post_spec.js 🐛 Fixed permission for "Administrator" to be able to edit post visibility 2020-05-20 17:47:27 +12:00
session_spec.js Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
settings_spec.js Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
tag_spec.js Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
user_spec.js Improved password reset and session invalidation for "locked" users (#11790) 2020-05-05 19:37:53 +01:00