Skip to main content

User management for Ptah.

Project description

https://secure.travis-ci.org/ptahproject/ptahcrowd.png

You can read the ptah_crowd documentation on-line at http://ptahcrowd.readthedocs.org.

This packages provides a nearly-complete user registration and management facility. It is similar to cartouche in feature set. The ptah_crowd package contains:

  • User registration forms

  • Reset password functionality

  • Ability to validate & suspend accounts

  • User model

  • User properties models/API

  • Ptah Management Plugin so you can manipulate API in web interface

ptah_crowd is built on-top of Pyramid and Ptah. It provides quite a few features and is generic enough to “plug into” instead of build from scratch. It is a framework and not library. ptah_crowd` does something out-of-the-box and is meant to be extended.

It is worthwhile to understand that ptah_crowd is not a wsgi application. You need an application such as one of the applications in the examples github repository, https://github.com/ptahproject/examples

Quick start

If you do not have an application, lets use examples/ptah_models.

Install ptah_models into your virtualenv:

$ cd examples/ptah_models
$ /path/to/virtualenv/bin/python setup.py develop

Then install ptah_crowd into your virtualenv:

$ cd ptah_crowd
$ /path/to/virtualenv/bin/python setup.py develop

Now all that is remaining is telling the application to use ptah_crowd. This is really easy. Two ways.

#1 - Edit the .ini File:

$ cd examples/ptah_models
$ edit settings.ini

Add ptah_crowd to the end of the pyramid.includes line:

pyramid.includes = ptah pyramid_debugtoolbar ptah_crowd

#2 - Add it to the WSGI app:

$ cd examples/ptah_models/ptah_models
$ edit app.py

Below the config.include('ptah') statment you can add:

config.include('ptah_crowd')

Then start pyramid:

$ /path/to/virtualenv/bin/pserve settings.ini

To learn more about extending Pyramid you can read more in the documentation. http://readthedocs.org/docs/pyramid/en/latest/narr/extending.html

CHANGES

0.2 (2012-11-08)

  • Added Groups.

  • Added user default roles.

  • Added HTTPForbidden view.

  • Added admin user auto creation.

0.1 (2011-12-22)

  • Initial release

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

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

Source Distribution

ptahcrowd-0.2.tar.gz (135.2 kB view details)

Uploaded Source

File details

Details for the file ptahcrowd-0.2.tar.gz.

File metadata

  • Download URL: ptahcrowd-0.2.tar.gz
  • Upload date:
  • Size: 135.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ptahcrowd-0.2.tar.gz
Algorithm Hash digest
SHA256 139a681c014db6a6925be027eecdd333de7654619300f1f960c38d3ee118606f
MD5 4c45cc5b1332ce4f63104f6c8cea1944
BLAKE2b-256 61da5f1f7bf0880ddf3900c3b81198d86407affcd9791f8a79191a753977ac64

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page