This project has been archived by its maintainers, and is no longer receiving any updates.
perfact-api-app-model
SQLAlchemy models for the app namespace — the authentication and authorization tables used by perfact-api-main. Part of the perfact.api.app.model namespace.
Models
| Class | Table | Purpose |
|---|---|---|
AppUser |
appuser |
User accounts |
AppUserKey |
appuserkey |
API keys belonging to a user |
AppUserLogin |
appuserlogin |
Active login sessions (cookie tracking) |
AppGroup |
appgroup |
Groups, each carrying a Zope role name |
AppPerm |
appperm |
Named permissions |
AppStc |
appstc |
Organisational scope tree (hierarchical) |
AppUserXPerm |
appuserxperm |
User ↔ permission assignments |
AppUserXStc |
appuserxstc |
User ↔ scope assignments |
AppPermXGroup |
apppermxgroup |
Permission ↔ group assignments |
AppPermXStc |
apppermxstc |
Permission ↔ scope assignments |
AppStc_Paths |
appstc_paths (view) |
Materialised ancestor paths for the scope tree |
How the permission model works
A user is granted access to a scope (AppStc) via AppUserXStc. Within that scope, a user has permissions (AppPerm) via AppUserXPerm. Each permission can be linked to one or more groups (AppGroup), and each group carries a Zope role name. The effective roles for a user in a given scope are resolved by walking the AppStc_Paths view upward through the scope hierarchy.
Dependencies
perfact-api-base-modelsqlalchemypsycopg[c]pydantic-settings
Maintainers
- Viktor Dick viktor.dick@perfact.de
- Alexander Rolfes alexander.rolfes@perfact.de
Metadata
Release files for perfact-api-app-model 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| perfact_api_app_model-0.5.tar.gz | 11.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| perfact_api_app_model-0.5-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 20.8 kB
Release files / perfact_api_app_model-0.5.tar.gz
| Download URL | perfact_api_app_model-0.5.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0659217e26ed59cc3b99d3ce670f46a199205cdcfa79791f914bbc2fab3e3f6f
|
|
BLAKE2b-256 checksum How to use checksums |
b376960baf9a7b0d88eeca1594b238957a03cea7d8d285263d054a0f3b2c2ec7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Release files / perfact_api_app_model-0.5-py2.py3-none-any.whl
| Download URL | perfact_api_app_model-0.5-py2.py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d01d6d5d96efbf96c787bbb6378a41c9de69122d44e5c2afa3e4344750a5b8d1
|
|
BLAKE2b-256 checksum How to use checksums |
854b6c480678a53cdf1dc54cb93b7f3351f77fa098a91d8e345e23c0b9b3d499
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Security for perfact-api-app-model 0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.