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.2.3

  • added permission grant, unset and revoke methods in ISecurityManager interface and adapter

  • added check in principals widgets

0.2.2

  • switched resources management from zc.resourcelibrary to fanstatic

0.2.1

  • removed “zope.app” packages dependencies

0.2

  • Switched to ZTK-1.1.2

  • Added schema fields, properties, widgets and resources to handle roles assignment via simple context attributes and properties

  • Added IAuthenticatorSearchAdapter to offer a common search interface to authenticator plug-ins

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.2.3.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

ztfy.security-0.2.3-py2.6.egg (50.5 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for ztfy.security-0.2.3.tar.gz
Algorithm Hash digest
SHA256 188a14c6b21142f077d3024d857010e99a6eb38289d51b3f47e6afe506aa90a2
MD5 8e0b99da3a6f559e3ea8d218ecb6e365
BLAKE2b-256 7e0992bcfb0cf9341de690114eb2ec755829ced521d1f243008160192a13ff53

See more details on using hashes here.

File details

Details for the file ztfy.security-0.2.3-py2.6.egg.

File metadata

File hashes

Hashes for ztfy.security-0.2.3-py2.6.egg
Algorithm Hash digest
SHA256 a49a2fd3c3efa31ecbc8f86236963bcc1de01c33f6193ad4233862927643c441
MD5 12840b864aa33f5c1d10ce2b96d06e2a
BLAKE2b-256 92abc31c59787c27916c4f4d053278c6eff87e0d6e61b28ce8e8c4bb01a32f46

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