Skip to content
New issue

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

Author selection for Pages should not include users with roles lower than Editor #17739

Closed
twstokes opened this issue Jan 11, 2023 · 4 comments
Closed

Comments

@twstokes
Copy link
Contributor

Expected behavior

  1. Author selection feature is available
  2. List of authors doesn't contain users who have a role lower than Editor

Actual behavior

Self-hosted sites without a WordPress.com connection

  • Author selection feature isn't available

WordPress.com sites

  • Author selection feature is available
  • List contains all users on the site
  • When selecting the other user (with a role lower than Editor) and publishing the Page, an error is presented by the user interface

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).

  1. Log into the app as the Administrator user
  2. Tap the FAB and select Site page to create a page
  3. Choose any layout
    • ℹ️ If the Blank Page layout was chosen, populate a title
  4. Open the Page settings view and observe the options

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 Pixel 4a, Android 13, WPAndroid 21.4
@twstokes
Copy link
Contributor Author

WPiOS issue: wordpress-mobile/WordPress-iOS#19886

@zwarm
Copy link
Contributor

zwarm commented May 3, 2024

I am not seeing this behavior in Android. My author list, for both posts and pages, show Admin, author, contributors, or editors roles. In addition, I double checked the api call and have verified we are requesting people where "authors_only=true". Perhaps this has changed from 2023. @twstokes - can you verify this is still happening? Thanks

@twstokes
Copy link
Contributor Author

twstokes commented May 3, 2024

@zwarm If you're not able to reproduce it with those steps then we're probably good! Thanks for the follow up. I think we can close it.

@zwarm
Copy link
Contributor

zwarm commented May 3, 2024

Closing. The issue seems to have been resolved.

@zwarm zwarm closed this as completed May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants