Ghost/ghost/admin/lib/koenig-editor/addon/components
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
..
kg-action-bar.hbs Co-located component template files 2020-05-18 13:14:08 +01:00
kg-action-bar.js Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-alt-input.hbs Fixed image caption design bugs in Koenig 2020-08-27 15:21:11 +02:00
koenig-alt-input.js Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-basic-html-input.hbs Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-basic-html-input.js Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-caption-input.hbs Fixed image caption design bugs in Koenig 2020-08-27 15:21:11 +02:00
koenig-caption-input.js Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-card-bookmark.hbs Prevented card toolbar showing for embed/bookmark cards in input state 2020-10-21 18:27:26 +01:00
koenig-card-bookmark.js Added display of server-side error message when bookmark request fails 2020-06-08 17:40:33 +01:00
koenig-card-code.hbs Added "Create snippet" toolbar icon when cards are selected 2020-10-21 12:16:04 +01:00
koenig-card-code.js Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-card-email.hbs Added "Create snippet" toolbar icon when cards are selected 2020-10-21 12:16:04 +01:00
koenig-card-email.js Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-card-embed.hbs Prevented card toolbar showing for embed/bookmark cards in input state 2020-10-21 18:27:26 +01:00
koenig-card-embed.js Resolved "already declared in upper scope" linting warnings 2020-10-05 09:56:21 +01:00
koenig-card-gallery.hbs Added "Create snippet" toolbar icon when cards are selected 2020-10-21 12:16:04 +01:00
koenig-card-gallery.js Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-card-hr.hbs Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-card-hr.js Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-card-html.hbs Added "Create snippet" toolbar icon when cards are selected 2020-10-21 12:16:04 +01:00
koenig-card-html.js Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-card-image.hbs Added "Create snippet" toolbar icon when cards are selected 2020-10-21 12:16:04 +01:00
koenig-card-image.js Updated image card to store original width/height in payload 2020-06-15 13:16:37 +01:00
koenig-card-markdown.hbs Added "Create snippet" toolbar icon when cards are selected 2020-10-21 12:16:04 +01:00
koenig-card-markdown.js Update dependency ember-in-viewport to v3.8.0 2020-10-01 10:06:53 +01:00
koenig-card.hbs Added "Create snippet" toolbar icon when cards are selected 2020-10-21 12:16:04 +01:00
koenig-card.js Prevented card toolbar showing for embed/bookmark cards in input state 2020-10-21 18:27:26 +01:00
koenig-editor.hbs Hid snippet management UI from staff users without permissions 2020-10-27 14:42:59 +00:00
koenig-editor.js Hid snippet management UI from staff users without permissions 2020-10-27 14:42:59 +00:00
koenig-link-input.hbs Implemented first iteration of content snippets 2020-10-15 18:03:35 +01:00
koenig-link-input.js Implemented first iteration of content snippets 2020-10-15 18:03:35 +01:00
koenig-link-toolbar.hbs Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-link-toolbar.js Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-menu-content.hbs Added delete button with confirmation to snippets in card menus 2020-10-26 17:09:39 +00:00
koenig-plus-menu.hbs Added delete button with confirmation to snippets in card menus 2020-10-26 17:09:39 +00:00
koenig-plus-menu.js Hid snippet management UI from staff users without permissions 2020-10-27 14:42:59 +00:00
koenig-slash-menu.hbs Implemented first iteration of content snippets 2020-10-15 18:03:35 +01:00
koenig-slash-menu.js Hid snippet management UI from staff users without permissions 2020-10-27 14:42:59 +00:00
koenig-snippet-input.hbs Renamed snippet.title to snippet.name for consistency 2020-10-16 10:15:07 +01:00
koenig-snippet-input.js Added "Create snippet" toolbar icon when cards are selected 2020-10-21 12:16:04 +01:00
koenig-text-replacement-html-input.hbs Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-text-replacement-html-input.js Co-located component template files 2020-05-18 13:14:08 +01:00
koenig-toolbar.hbs Hid snippet management UI from staff users without permissions 2020-10-27 14:42:59 +00:00
koenig-toolbar.js Co-located component template files 2020-05-18 13:14:08 +01:00