Skip to main content

This plugin turns Kotti CMS into a private content administration area. Basically kotti_backend let you achieve the same goals described here (Kotti CMS intranet).

What kotti_backend does:

  1. define and load a new private_workflow. If you are installing kotti_backend on an existing Kotti installation you’ll need to call kotti-reset-workflow yourinifile.ini --purge-existing (be extremely careful because all your published contents will be converted to the private state)

  2. apply the above workflow to File and Image (they are workflowless by default)

  3. set a default fallback permission to all views

  4. override the default populator with a custom ACL (no allow view for everyone)

build status

Find out more about Kotti

Development happens at https://github.com/Kotti/kotti_backend

Setup

To enable the extension in your Kotti site, activate the configurator:

kotti.configurators =
    kotti_backend.kotti_configure

kotti.use_workflow = kotti_backend:workflows/private_workflow.zcml

If you are going to install kotti_backend on an already existing site you’ll need to reset the workflow: read the docs and backup first. See Kotti security

If you are going to use kotti_backend with kotti_frontend (public website decoupled from the private content administration area), you can add the following additional options in order to see a “Goto frontend” action in your edit links:

kotti_backend.goto_frontend = 1                                 # the script_name (by default /cms) will be wiped out
kotti_backend.not_publishable_types = TYPENAME

or if you want have a custom url for your frontend you can specify a custom frontend url:

kotti_backend.frontend_url = http://cms.yourproject.com         # or if you have a custom frontend url you can specify it

where:

  • kotti_backend.goto_frontend adds a “Goto frontend” action in your edit links pointing to the public website

  • kotti_backend.not_publishable_types alters the default “goto frontend” link pointing to the first publishable parent. This is useful if you are using not directly publishable contents like portles or action links you don’t want expose on the frontend. See kotti_boxes or kotti_actions.

  • kotti_backend.frontend_url let you use a custom frontend url

Development

Contributions to kotti_backend are highly welcome. Just clone its Github repository and submit your contributions as pull requests.

History

0.2.0 (2015-07-08)

  • Add optional “Goto frontend” edit links on backend

0.1.4 (2015-07-02)

  • Add more tests

  • Add optional pyramid.includes setting kotti_backend.views.override_root_view`. Include it if you want to override the root with the @@contents view

0.1.3 (2015-06-25)

  • Add important note on README

0.1.2 (2015-06-25)

  • Add support for third party plugins with decoupled frontend (public view permission pview)

0.1.1 (2015-06-25)

  • No more automatic override for kotti.use_workflow ini setting. Now you have to add kotti.use_workflow = kotti_backend:workflows/private_workflow.zcml

0.1.0 (2015-06-22)

  • Create package with pcreate -s kotti kotti_backend.

Release files for kotti_backend 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kotti_backend 0.2.0
File Size Uploaded
kotti_backend-0.2.0.tar.gz 12.2 kB Details

Release files / kotti_backend-0.2.0.tar.gz

Download URL kotti_backend-0.2.0.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a1b3bd874a785b0f32ddca5ba90eaf6e09fe2cebf9682b4a435ca1e73705ceec
BLAKE2b-256 checksum
How to use checksums
8b6f52265c43b86e97b98fa050986a2fc03496d4512001f34867eecf6827deee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page