humanmade / humanmade/altis-workflow

SPIKE: Exploring the WP state change machine to create custom transitions

Open
#47 1 comment 0 reactions 2 assignees Claimed by @PriyaBhatia0210 View on GitHub
could have spike
Dominant language
PHP
Stars
6
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Breaking up the technical research required for our Workflows solution into following constituent pieces:

In this issue, we'd like to explore what does the WP state change machine entail for creation of custom transitions.

## Requirements
1. The ability to create custom transitions between states created in #46
2. The ability to properly design/specify what each transition does eg: Only the author can take a published post to a 'Back to Draft' state to make changes or a 'Under review' state should not be allowed to publish
3. The ability to specify user permissions for certain transitions eg: Only the author or their superior or admin has the permissions to 'Archive' a post
4. The ability to block certain transitions eg: An archived post cannot be taken to a draft state directly. It needs to be unarchived first.

**Timebox: 1 day**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.