Specific Plone layer for Products.ExternalEditor
Project description
Overview
A specific Plone layer for Products.ExternalEditor
Description
This package add a Control Panel to enable or disable external editor (ext_editor property in Plone seems to be unused) and to choose on which content types action will be available.
Technically this package add a skin layer to override external_edit.py and externalEditorEnabled.py python scripts from Plone to make them call views. These views respect the same behavior as today in Plone but add security checks (now you need “Modify Portal Content” to call external_edit) and add the support for content types you choose in the configlet.
Permissions ‘WebDAV Unlock items’ and ‘WebDAV Lock items’ are given to the ‘Editor’ role. IMPORTANT : previous settings for these permissions will be erased.
Important
collective.externaleditor is only working with Products.ExternalEditor >= 1.1.0 so you need to pin the version of Products.ExternalEditor in your buildout.
[versions] Products.ExternalEditor = 1.1.0
Todo
More test cover
Add in configlet the possibility to activate or unactivate external editor property for all users
Add in configlet the possibility to activate external editor for the new users
Contributors
-
Matt Sital-Singh [mattss]
Philip Bauer [pbauer]
Credits
Sponsorised by LESAFFRE - <http://www.lesaffre.com/>
Changelog
2.0.0 (2023-11-15)
The test suite now works with Plone 5.2, Python3 and Products.ExternalEditor 3 [ale-rt]
Remove unused import not compatible with Plone 6 [ale-rt]
1.0.3 (2015-08-21)
Move controlpanel to z3c.form. Removes dependency on CMFDefault and formlib. [pbauer]
1.0.2 (2015-06-04)
use the recommended way of including Products.CMFCore permissions in configure.zcml so it works for all Plone versions [jcerjak]
Remove dependency on portal_factory (Plone 5 compatibility) [mattss]
1.0.1 - 2012-02-10
preloading Products.CMFCore.permissions.zcml
1.0.0 - 2010-12-03
Initial release [f10w]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for collective.externaleditor-2.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8edcff3dd227cb68b9c513bc535581e4554e2ebb717aa6faf6f3211891d023b7 |
|
MD5 | c5cbd47d7efd2b2c35c30c60d7f32cab |
|
BLAKE2b-256 | aee453d3403c486aa3b694c0e4c6f43bf35d203756592cf3bedb1909b78b52c3 |
Hashes for collective.externaleditor-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bc34f8481acc8949a057ec9e18ea80ca93d412fa579141b8799e5778e31c22b |
|
MD5 | b727e04bd6dd7e61b20df2154fe586ff |
|
BLAKE2b-256 | 0f5027d7d51068bfdadb06dc5325644eaff440d65613ebbd31bd4f6c2864c940 |