Skip to main content
https://travis-ci.org/lrowe/pyramid_localroles.svg?branch=master

Local roles authorization policy for Pyramid

Objects may be given an __ac_local_roles__ property which may be either a mapping or a callable that returns a mapping from principal id to a list of principals.

Heritage

This package is modelled closesly on the local role system in Zope/CMF/Plone.

Plone allowedRolesAndUsers

https://github.com/plone/Products.CMFPlone/blob/master/Products/CMFPlone/CatalogTool.py

Plone _getAllLocalRole

https://github.com/plone/Products.PlonePAS/blob/master/Products/PlonePAS/pas.py

CMF allowedRolesAndUsers

http://svn.zope.org/Products.CMFCore/trunk/Products/CMFCore/CatalogTool.py

CMF _mergedLocalRoles

http://svn.zope.org/Products.CMFCore/trunk/Products/CMFCore/utils.py

Release files for pyramid_localroles 0.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 pyramid_localroles 0.1
File Size Uploaded
pyramid_localroles-0.1.zip 8.0 kB Details

Release files / pyramid_localroles-0.1.zip

Download URL pyramid_localroles-0.1.zip
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4d297d06677d54471cbca9f2744e9224528204cf83045a2a19b6f84707d0ef1b
BLAKE2b-256 checksum
How to use checksums
f7fd46389288059af67f3675b1d788cbd08786fbd10a18e1d20272ce7edd82a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

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