Ghost/ghost/admin/app/helpers
Kevin Ansfield c6753a0efd Hid snippet management UI from staff users without permissions
no issue

- snippets can only be created and deleted by owners/admins/editors
- added a property in the editor controller to determine if the logged in user has sufficient permissions, then only pass the appropriate save/delete snippet actions to the editor component if the check is passed
- updates koenig menus and toolbars to skip rendering of buttons if the associated action function is not available
2020-10-27 14:42:59 +00:00
..
author-names.js 🐛 Fixed author names not appearing in Facebook open-graph preview 2019-03-12 12:15:02 +00:00
background-image-style.js Add {{background-image-style}} helper 2018-05-14 13:04:53 +01:00
enable-developer-experiments.js Added developer experiments indication to about page 2020-10-09 11:38:47 +01:00
event-name.js Added "Member updated" event to the webhook dropdown 2019-10-31 14:36:00 +00:00
format-number.js Improved number formatting in members screen 2020-05-26 14:40:03 +01:00
gh-count-characters.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
gh-count-down-characters.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
gh-format-post-time.js Added UTC offset to scheduled editor status text 2020-07-01 20:37:46 +01:00
gh-pluralize.js Fixed {{gh-pluralize}} errors 2020-08-10 11:37:21 +01:00
gh-user-can-admin.js Fixed {{gh-user-can-admin}} error due to not using .get on proxy object 2019-01-22 16:25:14 +00:00
gravatar.js 🎨 Added gravatars for member avatars (#1417) 2019-12-03 18:10:47 +07:00
highlighted-text.js 🐛 Fixed admin search not handling certain characters (#877) 2017-09-28 11:25:13 +01:00
integration-icon-style.js 🎨 Updated admin area design and usability (#1232) 2019-06-18 11:47:20 +01:00
noop.js Hid snippet management UI from staff users without permissions 2020-10-27 14:42:59 +00:00
reset-query-params.js Added all/free/paid filter to members admin screen (#1600) 2020-06-12 12:12:27 +01:00
ui-btn-span.js Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
ui-btn.js Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
ui-text.js Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00