edition_staff

git.splent.io/splent-io/splent_feature_edition_staff

v0.2.1 full Refines events

About

WordPress-style editorial roles scoped to a single edition (editor/author/contributor), refining events with an author and gating the events/editions admin

Refinement

Refines
Extends models
Event with EventOwnerMixin

It changes events in place, without a fork, so the product installs both.

Provides

Models
EditionStaff
Services
EditionStaffService
Routes
/admin/editions/<int:edition_id>/staff/admin/editions/<int:edition_id>/staff/<int:user_id>/revoke/admin/editions/<int:edition_id>/staff/assign/admin/staff
Hooks filled
layout.authenticated_sidebar
Translations
enes

Commands

  • $ splent feature:edition_staff hello

    Example command — replace with your own.

Run them in your workspace once the feature is installed in the selected product.

Dependencies

Listens to
event-edition-choices

In product lines

  • cms_spl Optional in this line Needs auth editions events

Extension points

Templates
edition_staff/admin/edition.htmledition_staff/admin/index.htmledition_staff/index.html
Services
EditionStaffService
Models
EditionStaff
Routes
A refinement can add routes to its blueprint

Other features fill its hook slots. A refinement can override its templates and services or extend its models without forking it.

Compatibility

Python
>=3.13
SPLENT framework
>=1.30.0