Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Provides two archetypes fields which assign local roles to one or multiple users

Project Description

Introduction

raptus.rolefield provides two archetypes fields which assign local roles to one or multiple users.

Example

RoleField(
    name='editor',
    required=1,
    acquire=False,
    role='Editor',
    write_permission=DelegateEditorRole,
    vocabulary=SomeVocabularyProvidingUserIds,
    widget=SelectionWidget(
        label=_('label_editor', default=u'Editor'),
    ),
),
MultiRoleField(
    name='reviewers',
    required=1,
    acquire=False,
    role='Reviewer',
    write_permission=DelegateReviewerRole,
    vocabulary=SomeVocabularyProvidingUserIds,
    widget=MultiSelectionWidget(
        label=_('label_reviewers', default=u'Rreviewers'),
    ),
),

Changelog

1.1 (2014-12-05)

  • Default role acquisition now gets the matching role of the closest parent object

1.0b1 - (2010-10-21)

  • First public release
Release History

Release History

This version
History Node

1.1

History Node

1.0b1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
raptus.rolefield-1.1.zip (11.1 kB) Copy SHA256 Checksum SHA256 Source Dec 5, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting