wordpress-mobile / wordpress-mobile/WordPress-Android
Notifications: Can't open new post notification about password-protected posts
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Expected behavior
If I am subscribed to get web/app notifications about new posts on a site, and the site publishes a password-protected post, I expect to get a notification in the app similar to what I get on the web:

That notification includes a link to the post on the site so I can view it directly.
Actual behavior
In the app, I get the same notification in my notifications list, but the notification detail doesn't open. Instead, it shows this error:
You're not authorised to view this post
| List | Detail |
|---|---|
![]() |
![]() |
As a result, I can't get a link to the post or view it from that notification.
Steps to reproduce the behavior
- Follow a site.
- Enable new post notifications for that site. (In the app, go to Notifications tab > Settings icon > Select the site under Followed Sites > Toggle on "New posts" to enable new post notifications.)
- Publish a password-protect post on that site.
- Check your notifications and confirm you see a notification for the new post.
- Tap the notification to try to view it.
Tested on [moto e5 play], Android [8.1.0], WPAndroid [alpha-213]
Related iOS issue: https://github.com/wordpress-mobile/WordPress-iOS/issues/13718
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by following the listed notification steps on WordPress for Android, then trace how a new-post notification opens its detail view. Done means tapping a password-protected post notification opens the post or provides its link instead of showing the authorization error; verify the existing notification behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100

