This plugin connects Samuell's Content Editor plugin with Kurt Jensen's Passage Permission and Roles System extension. A new "Passage Key" property has been added for the Content Editor component, which is automatically checked against the assigned keys for the logged-in user through the RainLab User plugin.
This plugin extends the default permission system in Content Editor. If you rely on back-end permissions, keep in mind those permissions will no longer apply.
The following plugins are required
Passage Permission and Roles System
Fast, Efficient permissions and roles system for your site pages and resources.
Passage Permission and Roles System
Fast, Efficient permissions and roles system for your site pages and resources.
Content Editor
Allows you to edit content files on the front-end pages.
Content Editor
Allows you to edit content files on the front-end pages.
Dependencies
This plugin requires Samuell's Content Editor, Kurt Jensen's Passage Permission and Roles System, and RainLab's User plugins.
Usage
A new key
property is added, which can be set through the component settings or when included in a page:
{% component 'contenteditor' key='my_key' %}
The component itself is a direct extension of Content Editor's ContentEditor
component. It extends the checkEditor()
method to check if the given key is valid.
Permissions
This extension extends Content Editor's usage of backend user permissions, and replaces the backend permissions with front-end user ones. If a passage key is not given, the content editor will show publicly.
-
This plugin has not been reviewed yet.
-
1.0.2 |
Some UI improvements Sep 06, 2017 |
---|---|
1.0.1 |
First version of ContentEditorPassageExtension Sep 04, 2017 |