Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

A simple FeinCMS extension that adds permission-checking to a model.

Project Description

A simple FeinCMS extension that adds permission-checking to a model. The model is assumed to be a Page, but it could be any FeinCMS model.


Install using pip:

pip install feincms-pagepermissions

Change your Django settings to include pagepermissions:


Then add the extension to your content type:


This will add a permissions field to your content type that you will have to add yourself through syncdb or South or otherwise.

When you edit or add a page you will have the option of setting the permissions required for a user to view that page. You can select multiple permissions, and if the user has any of those they will be able to view the page. Otherwise they will receive a 403.

Finally, you may also want to keep a page out of the navigation if the user has no permission to view it. For this, there is a template filter called check_page_permission. Use it as follows in your template:

{% load feincms_page_tags feincms_pagepermissions_tags %}

{% feincms_nav feincms_page level=1 depth=1 as level1 %}
{% for page in level1 %}
    {% if page|check_page_permission:user %}
       ...display page navigation...
    {% endif %}
{% endfor %}


Your pull requests are very welcome! Please follow the established code style.


feincms-pagepermissions is released under the BSD license.

Release history Release notifications

This version
History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
feincms-pagepermissions-0.3.1.tar.gz (3.9 kB) Copy SHA256 hash SHA256 Source None Jan 21, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page