Allow approvals to be disabled for node types

Created on 26 June 2024, 5 months ago

Problem/Motivation

Currently, the approver workflow is applied to all node types. We should be able to disable approvals per content type.

Steps to reproduce

None.

Proposed resolution

Introduce a "disallowed_content_types" setting and enforce it.

Note that we will "disallow" since that respects the current assumption that "all types are allowed" and will not require an update hook.

Remaining tasks

Introduce a "disallowed_content_types" setting and enforce it.
Update tests

User interface changes

Adds a settings page

API changes

None -- but this should be done after πŸ› Service decorator must use the "inner" pattern Fixed and πŸ“Œ Use inner decorator for ApproverStateTransitionValidation Needs review for clarity.

Data model changes

Adds settings schema for "disallowed_content_types"

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States agentrickard Georgia (US)

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024