Skip to main content

ZTFY package used to add wrapper around Zope security

Project description

What is ztfy.security ?

ztfy.security is a thin wrapper around zope.security and zope.securitypolicy packages.

It provides an adapter to ISecurityManager interfaces, which allows you to get and set roles and permissions applied to a given principal on a given adapted context.

This adapter also allows you to fire events when a role is granted or revoked to a given principal ; this functionality can be useful, for example, when you want to forbid removal of a ‘contributor’ role to a principal when he already owns a set of contents.

Finally, ztfy.security provides a small set of schema fields, which can be used when you want to define a field as a principal id or as a list of principals ids.

How to use ztfy.security ?

ztfy.security package usage is described via doctests in ztfy/security/doctests/README.txt

Changelog

0.1

  • Initial release

Project details


Download files

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

Source Distribution

ztfy.security-0.1.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

ztfy.security-0.1-py2.5.egg (28.6 kB view details)

Uploaded Egg

File details

Details for the file ztfy.security-0.1.tar.gz.

File metadata

  • Download URL: ztfy.security-0.1.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ztfy.security-0.1.tar.gz
Algorithm Hash digest
SHA256 d1695e264fc5368dbd6901bab32838d53d99c43a8da7c4b6ef8827bd01fa15f6
MD5 d92a031dce677e7afaca0c2237e68fc5
BLAKE2b-256 a2c46e1d55c8f8e102b7dbd3014e74bd9bc9c25d241ee1e062d165d4155f1f63

See more details on using hashes here.

File details

Details for the file ztfy.security-0.1-py2.5.egg.

File metadata

File hashes

Hashes for ztfy.security-0.1-py2.5.egg
Algorithm Hash digest
SHA256 b8760ce1a5c7e99a64594d793b5aa28d517a46da242991939ec27eeab9eef22b
MD5 da45fdb9fc30235ee198c894343f71fa
BLAKE2b-256 4096ed232c2b04119b4e1468a58e58d6a0a023f5ed4b1ff05d05b3b31c42473f

See more details on using hashes here.

Supported by

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