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.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file pyams_security-1.10.6.tar.gz
.
File metadata
- Download URL: pyams_security-1.10.6.tar.gz
- Upload date:
- Size: 65.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c8c4f7ab324a42827892228c761d718fb627ff768feb7bdd5485f2c64acbd4c |
|
MD5 | de005ba9266480d26e51d2aac6bc2117 |
|
BLAKE2b-256 | 3503070a6a385aa7453c812f20521cb385a8fae86df0e656deb60e35fb35ef47 |
File details
Details for the file pyams_security-1.10.6-py3.10.egg
.
File metadata
- Download URL: pyams_security-1.10.6-py3.10.egg
- Upload date:
- Size: 174.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e6e7112c6a060067d31386dee5e44bf43d893a79ffbdfa58f9cf8a6052aa423 |
|
MD5 | 98fcbf9ef433dd31344881d51d30f4af |
|
BLAKE2b-256 | fba5077292b5424339582ad7d68bffb8e58100d3beb1a8773b2bf7d1efb9573c |
File details
Details for the file pyams_security-1.10.6-py3.9.egg
.
File metadata
- Download URL: pyams_security-1.10.6-py3.9.egg
- Upload date:
- Size: 173.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c83a0e8ebb5e16cb15242734f652320bdc4724b57afedc6ec27aea0929da1b4 |
|
MD5 | fe764c13117ef0c3d18c65f2b2a8f0d1 |
|
BLAKE2b-256 | adfedff71d572698f46cdaea7e38cb63e74e5b7fc89f0dd33f729c9aef3f0ccf |
File details
Details for the file pyams_security-1.10.6-py3.8.egg
.
File metadata
- Download URL: pyams_security-1.10.6-py3.8.egg
- Upload date:
- Size: 173.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c3d44fb637ca3e599b138d415bd13c26141d07398f5f12bb6fcc1edbad5c4e6 |
|
MD5 | d629ce3c4062d26ea744bb6b5698d41f |
|
BLAKE2b-256 | b4bb8032716be345ef1fe3d48131ec98d86c06de12bc07c59370026441d5d1e3 |
File details
Details for the file pyams_security-1.10.6-py3.7.egg
.
File metadata
- Download URL: pyams_security-1.10.6-py3.7.egg
- Upload date:
- Size: 173.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bec5d98ba0a4c0d0128ed84892b64a9f9316e027feb58ec8fb2c024bf49ebd36 |
|
MD5 | f0bd0afab3f7443bdd78a6d2cd11ef42 |
|
BLAKE2b-256 | 6d3915871d6287c6d5ec451ab36ab45138cab1b51b3a24a0a55e347eb998591b |
File details
Details for the file pyams_security-1.10.6-py3-none-any.whl
.
File metadata
- Download URL: pyams_security-1.10.6-py3-none-any.whl
- Upload date:
- Size: 108.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67977f90ad7a9eb098ef44bf2ad9edaf0c666a42831f95abecd4e4f0c5d1c7d0 |
|
MD5 | 22108d1db8c0be8bf3f8b959fa38417e |
|
BLAKE2b-256 | a6769632f1bf4d418960c6f11f219affbe543d8880325bbc27c4a9632d3c1b33 |