We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List doesn't contain users who have a role lower than Editor.
List contains users who have a role lower than Editor, although they cannot technically publish Pages.
When tapping Publish:
Error Domain=WordPressKit.WordPressComRestApiError Code=2 "Assigned author cannot publish post." UserInfo={NSLocalizedDescription=Assigned author cannot publish post., WordPressComRestApiErrorCodeKey=unauthorized, WordPressComRestApiErrorMessageKey=Assigned author cannot publish post.}
Prerequisites: Two users exist on a blog - one Administrator role, and one lower than Editor (e.g. Author or Contributor).
WordPress.com's web interface (Calypso) allows one of these users to be set and for the Page to be published without error.
The text was updated successfully, but these errors were encountered:
WPAndroid issue: wordpress-mobile/WordPress-Android#17739
Sorry, something went wrong.
This now works better as the error message contains the reason why it fails, which I think is an acceptable solution:
– less logic to be hardcoded in the app – no guessing why a user is missing from the list
No branches or pull requests
Expected behavior
List doesn't contain users who have a role lower than Editor.
Actual behavior
List contains users who have a role lower than Editor, although they cannot technically publish Pages.
When tapping Publish:
Steps to reproduce the behavior
Prerequisites: Two users exist on a blog - one Administrator role, and one lower than Editor (e.g. Author or Contributor).
Notes
WordPress.com's web interface (Calypso) allows one of these users to be set and for the Page to be published without error.
Tested on iPhone 14, iOS 16.2, WPiOS 21.5
The text was updated successfully, but these errors were encountered: