splent_feature_careers
The careers feature of a SPLENT product line.
A SPLENT feature is a Python package that a product composes with others.
Its models, routes, services, templates and hooks are registered when the
product starts. What this feature provides and requires is listed in the
[tool.splent.contract] section of pyproject.toml, which
splent feature:contract --write keeps in sync with the source.
What it does
A public job application form at /careers. Each application is stored
with an optional CV, a PDF of up to 5 MB kept in the protected uploads
storage (PROTECTED_UPLOADS_DIR), never under static/. When a mail
feature is installed the recipient set in the Careers settings panel gets a
notice with a link to the CV, never the file itself. A captcha feature can
veto a submission through the careers-submitting signal.
The panel reads the applications at /admin/careers, where each CV is
downloaded and each application marked read or deleted.
Access
The screens under /admin/careers, the CV downloads among them, open for
the accounts whose role is admin or staff, the same pair the admin
dashboard lets in. Any other signed-in account gets 403 and does not see the
Careers link in the sidebar, and an anonymous visitor is sent to log in. The
application form stays open to everyone, signed in or not.
There is no setting for these roles, and a refinement cannot replace the
views that check them, because it may add routes to this feature but never
replace one of its own. Another feature can decide for these screens with an
access policy registered for the prefix careers.admin
(register_access_policy, splent_framework 1.20.0). The framework asks the
policy before the roles. It answers True to let an account in, False to
refuse it, or None to leave the decision to the roles, and the sidebar link
follows the same answer. That is the way to let a group of accounts manage
only this section, for example the people who hire, without giving them a
panel role.
See Access control.
Without such a feature, give the person's account the staff role. Staff
opens every panel screen that asks for PANEL_ROLES, not only this one, so
a person who should read nothing but the applications needs a policy
instead.
splent feature:auth set-role someone@example.com staff
Use it in a product
splent feature:add splent_feature_careers
Develop
splent feature:test splent_feature_careers
splent feature:contract splent_feature_careers
Release
splent feature:release splent_feature_careers --dry-run --bump patch
splent feature:release splent_feature_careers
The first command rehearses the release and changes nothing. The second publishes it to the git forge and to PyPI, and a PyPI version is permanent.
Metadata
Release files for splent-feature-careers 0.2.0
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 | Actions |
|---|---|---|---|---|
| splent_feature_careers-0.2.0.tar.gz | 32.4 kB | Without provenance | Details for splent_feature_careers-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| splent_feature_careers-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for splent_feature_careers-0.2.0-py3-none-any.whl |
Total release size: 71.7 kB
Release files / splent_feature_careers-0.2.0.tar.gz
| Download URL | splent_feature_careers-0.2.0.tar.gz |
|---|---|
| Size | 32.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
954b0e25498d93a61416742bd5d6ae043f5dc6b4af7e0a81bdab6773153d65da
|
|
BLAKE2b-256 checksum How to use checksums |
4d6dbf246e244258e6a47a4114b6c97e2f3f0def50465a684fed73504bdec9ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / splent_feature_careers-0.2.0-py3-none-any.whl
| Download URL | splent_feature_careers-0.2.0-py3-none-any.whl |
|---|---|
| Size | 39.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
375330395c24135f61f564012392e36ac380a03b57eaef538807b71551885664
|
|
BLAKE2b-256 checksum How to use checksums |
b86134dcdc1be06b554ee207f6fa8a2d4db5097ee7cb84ac2cb960bf6ebf3ba0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Security for splent-feature-careers 0.2.0
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.