wordpress-mobile / wordpress-mobile/WordPress-Android

User who can only "Submit for review" is not able to submit from app

Open
#6,011 19 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Status] Stale [Type] Enhancement Posting/Editing
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Expected behavior

If a user has account set up to only "submit for review" and they use the app to create a new post, I would expect the submit button in the app to either say submit but actually only submit for review, or say submit for review and submit for review.

Actual behavior

The submit button does not function: it appears to work, no errors are explicitly given, but the blog does not get sent to the site at all

Steps to reproduce the behavior
  1. set up user on a self-hosted site who has had "publish_posts" function restricted by plugin. - check the "submit for review" button is showing in the UI
  2. link up app
  3. Try to "publish" a blog
Tested on [device], Android [version]

Android Nougat, Self-hosted wordpress.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Android app's publish flow with a self-hosted WordPress site where the user lacks the publish_posts capability but can submit for review. Trace what the submit button does when the account is restricted, then verify that the post is submitted for review and that the button presents an accurate action.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin, wordpress
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.