Skip to main content

Local roles authorization policy for Pyramid

Project description

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

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

pyramid_localroles-0.1.zip (8.0 kB view details)

Uploaded Source

File details

Details for the file pyramid_localroles-0.1.zip.

File metadata

File hashes

Hashes for pyramid_localroles-0.1.zip
Algorithm Hash digest
SHA256 4d297d06677d54471cbca9f2744e9224528204cf83045a2a19b6f84707d0ef1b
MD5 0ca978435bdcb86a5a8be3819aac9d19
BLAKE2b-256 f7fd46389288059af67f3675b1d788cbd08786fbd10a18e1d20272ce7edd82a7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page