127

Product support

Get help in the plugin support forum.

  • Added on Sep 5, 2017
  • Current version: 1.0.2
  • Platform Compatibility
    v3.x not tested
    v2.x not tested
    v1.x use latest
  • Created by

Categories

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.

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.

1.0.2

Some UI improvements

Sep 06, 2017

1.0.1

First version of ContentEditorPassageExtension

Sep 04, 2017