Skip to main content

PyAMS security management package

Project description

What is PyAMS?

PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications and content management with the Pyramid framework.

PyAMS is actually mainly used to manage web sites through content management applications (CMS, see PyAMS_content package), but many features are generic and can be used inside any kind of web application.

All PyAMS documentation is available on ReadTheDocs; source code is available on Gitlab and pushed to Github.

What is PyAMS_security?

PyAMS_security is a core extension package for PyAMS which provides all base security-related features; the package provides a custom authentication policy which is based on a custom “security manager”. This utility is a pluggable tool which is handling system users, local users and groups; external packages are available to provide other authentication and security mechanisms, like HTTP authentication, JWT tokens management, and OAuth, Azure or LDAP based authentication.

Finally, PyAMS_security provides ACLs and roles management, as well as custom schema fields to store roles assigned to principals.

Changelog

1.11.1

  • updated doctests

  • added support for Python 3.11

1.11.0

  • added support for user registration

  • moved open registration settings to PyAMS_security_views package

1.10.6

  • updated CORS requests handler

  • use f-strings in logger output

1.10.5

  • added constant to set unchanged password value

1.10.4

  • added allowed methods argument to CORS requests handler

  • rollback on Gitlab-CI test coverage report integration

1.10.3

  • added Gitlab-CI test coverage report

1.10.2

  • added custom CORS requests handler adapter

1.10.1

  • updated Gitlab-CI configuration

1.10.0

  • added REST services configuration and validators to handle CORS requests

1.9.0

  • moved security plugins interfaces to dedicated module

  • added support for Python 3.10

1.8.4

  • added method to security manager to get a raw principal, bypassing cache

1.8.3

  • updated translations

1.8.2

  • reStructuredText formatting error…

1.8.1

  • added constant for unknown principal ID

  • added constants for principal and group ID formatters

1.8.0

  • added attribute to security manager to show link in home page

1.7.1

  • added strings constants for plug-ins labels

1.7.0

  • added ProtectedViewObjectMixin, to be used as base for any object using dynamic permission property

  • added “action” argument to “get_edit_permission()” function; this allows to register custom adapters to IViewContextPermissionChecker with this name, to be able to check edit permissions for custom actions

  • added ISecurityContext interface

1.6.2

  • renamed ‘skin’ module to ‘api’

1.6.1

  • correction in Gitlab-CI Pylint task

1.6.0

  • removed support for Python < 3.7

  • added custom password encoders

  • updated doctests

1.5.5

  • updated Gitlab-CI configuration

1.5.4

  • updated Gitlab-CI configuration

1.5.3

  • added wheels to Buildout configuration

1.5.2

  • updated Gitlab-CI configuration for last Python versions

1.5.1

  • updated doctests

1.5.0

  • added ISecurityManager factory configuration

  • removed Travis-CI configuration

1.4.0

  • added config.upgrade_role function, to be able to add permissions to an existing role

  • updated default site roles

  • updated doctests

1.3.1

  • updated security manager interface to add registered credentials plug-ins names

1.3.0

  • added argument in “find_principals” methods to only allow exact match

1.2.1

  • use updated WSGI decorator to prevent storage of null values into request environment

1.2.0

  • updated roles management; this will allow to extend supported roles of a given class just by adding adapters, without modifying the original class

  • moved PyAMS security policy to dedicated module

  • added registration of standard roles and security policy

  • add factories registration in default security plug-ins

  • updated users registration process

  • updated adapter_config decorator arguments

  • updated doctests

1.1.3

  • small updates in policy management of authenticated_user_id

1.1.2

  • updated doctests with configured cache

1.1.1

  • removed dependency on pyams_auth_http package

1.1.0

  • moved authentication plug-ins to dedicated packages (see pyams_auth_http, pyams_auth_jwt…)

  • moved PyAMS authentication policy to dedicated module

  • handle ConnectionStateError in authentication policy

  • updated doctests

1.0.5

  • simple version switch to avoid mismatch in Buildout configuration file… :(

1.0.4

  • code cleanup

1.0.3

  • handle ConnectionStateError in JWT authentication plug-in

  • updated doctests

1.0.2

  • added support for HS512 and RS512 JWT encryption protocols

1.0.1

  • updated imports in include file for tests integration

1.0.0

  • 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

pyams_security-1.11.1.tar.gz (67.6 kB view details)

Uploaded Source

Built Distributions

pyams_security-1.11.1-py3.11.egg (209.0 kB view details)

Uploaded Source

pyams_security-1.11.1-py3.10.egg (179.0 kB view details)

Uploaded Source

pyams_security-1.11.1-py3.9.egg (178.3 kB view details)

Uploaded Source

pyams_security-1.11.1-py3.8.egg (178.3 kB view details)

Uploaded Source

pyams_security-1.11.1-py3.7.egg (177.9 kB view details)

Uploaded Source

pyams_security-1.11.1-py3-none-any.whl (111.0 kB view details)

Uploaded Python 3

File details

Details for the file pyams_security-1.11.1.tar.gz.

File metadata

  • Download URL: pyams_security-1.11.1.tar.gz
  • Upload date:
  • Size: 67.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyams_security-1.11.1.tar.gz
Algorithm Hash digest
SHA256 b8a679d7faf7ef657fecd325fc8081a9ad9c8c4f0f0abf5bad894fb2bf63e3b6
MD5 cea201f3a4937396dc43fb2e9f3bf69a
BLAKE2b-256 9fd54bdc8c4a2a2cc04502fa40022569f48ab2c559bb8e15d5b5225c3b0e7a33

See more details on using hashes here.

File details

Details for the file pyams_security-1.11.1-py3.11.egg.

File metadata

  • Download URL: pyams_security-1.11.1-py3.11.egg
  • Upload date:
  • Size: 209.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pyams_security-1.11.1-py3.11.egg
Algorithm Hash digest
SHA256 663e1a2eb1d785050abfd667769405efa59132c8420cab8e7ff26bf056c3f51e
MD5 01880b0234cf764c88192cc62371a592
BLAKE2b-256 6b3d87848ef993332605f5fc188f3c01d5d86059d18bd7b0c170dec598aa1ead

See more details on using hashes here.

File details

Details for the file pyams_security-1.11.1-py3.10.egg.

File metadata

  • Download URL: pyams_security-1.11.1-py3.10.egg
  • Upload date:
  • Size: 179.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for pyams_security-1.11.1-py3.10.egg
Algorithm Hash digest
SHA256 5663ea5289d1698455681d2dc8f11dfdbe846073ef938f4e46311c78db8847a4
MD5 3ab02e0a796a239b9aef0e332cc1408a
BLAKE2b-256 867e3d0a40836a4bfcbcc56e4c380ddfae2862be59279edcd64ae99750226358

See more details on using hashes here.

File details

Details for the file pyams_security-1.11.1-py3.9.egg.

File metadata

  • Download URL: pyams_security-1.11.1-py3.9.egg
  • Upload date:
  • Size: 178.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for pyams_security-1.11.1-py3.9.egg
Algorithm Hash digest
SHA256 f37c82d2a5eed0c4c75ae4eaa9534d239872f239a80ebbaf3f56c53d0d03734c
MD5 31ea7b600cb035bbfff5223481189d2d
BLAKE2b-256 8b34d874ce386add307d4e5f83757cdc757224be011b864d58c67c01b36d32e9

See more details on using hashes here.

File details

Details for the file pyams_security-1.11.1-py3.8.egg.

File metadata

  • Download URL: pyams_security-1.11.1-py3.8.egg
  • Upload date:
  • Size: 178.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.17

File hashes

Hashes for pyams_security-1.11.1-py3.8.egg
Algorithm Hash digest
SHA256 387a2a48e9de1664c66b2532eef1da68dd3e735a25d757a6987915550e1aea2a
MD5 c8f9baa0d6513c440f62e6995e79df78
BLAKE2b-256 d4cf2993b08b1853669a70c1e05262af69b3378a3d309c6fef85438ea51a7373

See more details on using hashes here.

File details

Details for the file pyams_security-1.11.1-py3.7.egg.

File metadata

  • Download URL: pyams_security-1.11.1-py3.7.egg
  • Upload date:
  • Size: 177.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyams_security-1.11.1-py3.7.egg
Algorithm Hash digest
SHA256 6605b8c7eac264b67454471e1d5250340922f62479718eeb9ebf3a782e9b0d82
MD5 86df8573cfb8b28f203fb4975c3472eb
BLAKE2b-256 7b3e7b01a9a82147dc635e778c395c88d11209ed2fcd8faa02b37852e20e28c3

See more details on using hashes here.

File details

Details for the file pyams_security-1.11.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyams_security-1.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e88eff1090d17445df5bceae022911653220ac94527b20ccde04e7a389492759
MD5 288e5ca0a688177b4f90f72a9001e6bd
BLAKE2b-256 1e052393845a2fa94a6b0d6c7b9c8632a3ae84eea33aa07b8d0cfc42603c0597

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