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.0b1 - (2010-10-21)
First public release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
raptus.rolefield-1.0b1.tar.gz
(4.3 kB
view hashes)