Giter Site home page Giter Site logo

kotti_backend's Introduction

kotti_backend

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 code coverage

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.