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.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.0.tar.gz
.
File metadata
- Download URL: pyams_security-1.10.0.tar.gz
- Upload date:
- Size: 64.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51ee756b71bcdf800e1cf9797c02cad99b5d29938d397fdf3a26b771ac89adbe |
|
MD5 | 61dc62f9cdd7fac9b4e8b6b3e40e8685 |
|
BLAKE2b-256 | fb5f7ba207773c57dcbb57ad994793d214fc42a040c710dba4322e522c5dabeb |
File details
Details for the file pyams_security-1.10.0-py3.10.egg
.
File metadata
- Download URL: pyams_security-1.10.0-py3.10.egg
- Upload date:
- Size: 174.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec63527b94c2b5ae69b93f0a8c75523fd63ba318aa52fb48adb2c6d23a6bd70c |
|
MD5 | 1e2da195b748f3ad89dd684c1fcc7252 |
|
BLAKE2b-256 | b863461311789f74133f2a56815a3a0d3a24b6c2726b94dc7e6558c5ef997853 |
File details
Details for the file pyams_security-1.10.0-py3.9.egg
.
File metadata
- Download URL: pyams_security-1.10.0-py3.9.egg
- Upload date:
- Size: 173.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 426f02b8971bf295bb201f3e1af05b4a3e3dd6414bb3b34f802cf295408979e7 |
|
MD5 | 7fede367fecb0aba1125b347ace1f2c2 |
|
BLAKE2b-256 | 6cba88017a9835ef58664d9c089901bbcf0ff642b221195dd49cfec69b7660dc |
File details
Details for the file pyams_security-1.10.0-py3.8.egg
.
File metadata
- Download URL: pyams_security-1.10.0-py3.8.egg
- Upload date:
- Size: 173.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f5d3cdc662e5c8c40ee84edbc336f4c08f282d413f222ae4679bb77782232e5 |
|
MD5 | af9ee55210304706e4defb3aafe93999 |
|
BLAKE2b-256 | dfcf92b7e3eb238c741bab9e8b6e82e8f166d9e403a112cc297f29a96582e5eb |
File details
Details for the file pyams_security-1.10.0-py3.7.egg
.
File metadata
- Download URL: pyams_security-1.10.0-py3.7.egg
- Upload date:
- Size: 172.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7014cfb15e816991c65365510998b4778cd799574eb29b0de88ddd220876a43f |
|
MD5 | dd7a15ad3196aa2438c4dc5eb8fa4ca9 |
|
BLAKE2b-256 | 7e37de3adf22ccb34dc8074e07f5612edca4030cd238cffb18d972ce79a9c77c |
File details
Details for the file pyams_security-1.10.0-py3-none-any.whl
.
File metadata
- Download URL: pyams_security-1.10.0-py3-none-any.whl
- Upload date:
- Size: 107.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c795306c4aded82307164a763ce211d320e844634caa260a30080f65e3ed8eea |
|
MD5 | 7ef0d8eb2416bb3e1034fbe02e7ac805 |
|
BLAKE2b-256 | f9494a5acaa1b850759cfc02aa11afdd9a7d9e69fc0184183d59ec6152897a98 |