Professional Plone Development:
Building robust, content-centric web applications with Plone 3, an open source Content Management System
www.PACKTPUB.com  FREE ONLINE EDITION: Read full chapters online, download free samples from the book and more...
Book Contents Index > Chapter 6

Introduction
1: Plone in Context
2: The Case Study
3: The Development Environment
4: Customization Basics
5: Developing a Site Strategy
6: Security and Workflow
7: Using Add-on Products
8: Creating a Custom Theme
9: Nine Core Concepts of Zope Programming

10: Custom Content Types
11: Standalone Views and Forms
12: Relational Databases
13:
Users and Their Permissions

14: Rich User Interfaces with KSS
15: Next Steps
16: Server Management
17:
Setting Up a Production Server

18: Authenticating with LDAP
19: Looking to the Future
Index

Latest Updates

Free Chapter:

Chapter 2: The Case Study [946 kB PDF]

Code Download

Contact us

 

Chapter 6: Security and Workflow

Security should never be an afterthought, particularly when building web applications. Luckily, Zope and Plone provide a robust and flexible security model that lets you concentrate on building your application instead of worrying too much about how to lock it down. That is, so long as you understand a few basics.

In this chapter, we will explain the building blocks of Zope security—users, roles, and permissions—as well as workflows, the usual way to manage permissions in Plone. As a demonstration, we will build a custom workflow for the Optilux website and add it to the policy product we created in the previous chapter.

 

Chapter 6: Security and Workflow

  • Security Primitives
    • Users and Groups
    • Permissions
    • Roles
    • Manipulating Permissions and Roles Programmatically
  • Keeping Control with Workflow
    • Using Workflow from Python
  • Custom Workflow Installation
    • Designing a New Workflow
    • Amending the Policy Product
    • Writing the Tests
  • Protected and Trusted Code
    • Restricted Python
  • Summary

 

   

 

Paperback 420 pages
Released: September 2007
ISBN 1847191983
ISBN 13: 978-1-847191-98-4

     

 




View the book details
on PacktPub.com

 


 

  This website is owned and maintained by Packt Publishing Ltd, 2007. All rights reserved. Terms and Conditions