Skip to main content

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

Metadata

Release files for raptus.rolefield 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for raptus.rolefield 1.1
File Size Uploaded Provenance Actions
raptus.rolefield-1.1.zip 11.1 kB Without provenance Details for raptus.rolefield-1.1.zip

Release files / raptus.rolefield-1.1.zip

Download URL raptus.rolefield-1.1.zip
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0e826b159d8b82315d3393ebcf94d2324bdce73fd009a09b1c99ef4473ef0414
BLAKE2b-256 checksum
How to use checksums
319d2d5fef967207308eb6e7a54b0c0039cdb490dac6970893367cfa4034a760
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for raptus.rolefield 1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page