This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
Introduction
============

An Archetypes field that manages local roles. It can be used to assign
specific local roles through the edit form.

Usage
-----

An example field definition

... RoleField(
... 'responsible,
... role = 'Owner',
... widget = SelectionWidget(
... label = 'Responsible',
... ),
... ),

The available parameters are:

- 'role': the managed role that will be assigned to users;

- 'target_expression': An expression returning the target object
where local roles should be assigned. If None (default), context
will be used as target.

- 'allow_protected_roles': Allow the user to change protected
roles for himself. Default is False.

- 'protected_roles': Roles that a user shouldn't be able to
change for himself, if 'allow_protected_roles' is True.
Default is ('Manager', 'Owner').

- 'filter_groups': Filter users/groups by group. If None, no
filter is made. Only used if vocabulary is None and so the
default vocabulary is used.

- 'principals': Possible values are 'users' (default), 'groups'
and 'all'. Only used if 'vocabulary' is None and so the default
vocabulary is used.


Read archetypes/rolefield/tests/rolefield.text for more details.


Installation
------------

Add archetypes.rolefield to your buildout configuration. Install the
product in Plone through the Add-on products control panel.


Credits
-------

Ricardo Alves <rsa at="" eurotux="" dot="" com="">

Eurotux Development Team <udp at="" eurotux="" dot="" com="">


License
-------

Read docs/LICENSE.GPL

Changelog
=========

0.1 - a1
----------------

- First working version with tests.
[igbun]

- Initial import
[igbun]
Release History

Release History

0.1-a1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1-a1dev-r10417

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
archetypes.rolefield-0.1-a1.tar.gz (13.6 kB) Copy SHA256 Checksum SHA256 Source Jan 24, 2009

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