Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Posts created by contributors are not syncing #31

Open
truekasun opened this issue Aug 20, 2018 · 4 comments
Open

Posts created by contributors are not syncing #31

truekasun opened this issue Aug 20, 2018 · 4 comments
Labels

Comments

@truekasun
Copy link

truekasun commented Aug 20, 2018

FILL THESE DETAILS FIRST:

  • Ghost version: 1.25.3
  • App version: 1.2.1

Issue #1

When users with “Contributor” role try to write a post using the Ghost mobile app, it doesn’t sync to the server.

I was going through a debugging session and found the following error when a contributor tries to create a post.

{“errors”:[{“message”:“You do not have permission to add posts”,“errorType”:“NoPermissionError”}]}

Issue #2

When this happens, Ghost mobile app keeps trying to sync with the server and finally it goes through the spam prevention system resulting in the following error

{“errors”:[{“message”:“Too many attempts try again in an hour”,“context”:“Only 100 tries per IP address every 3600 seconds.”,“errorType”:“TooManyRequestsError”}]}

Then no one in the same network can even log in to the app within an hour.

@vickychijwani
Copy link
Member

Thanks for digging into this issue, @truekasun! Support for the contributor role definitely needs improvement.

@vickychijwani
Copy link
Member

@truekasun were you trying to publish the post when you saw this error? Because contributors can create and edit drafts but cannot publish them.

@truekasun
Copy link
Author

truekasun commented Sep 17, 2018

@vickychijwani Well, I just simply open a new article with the FAB and typed some text. Then pressed the back button so it should save as a draft when I return to the main screen where I can see all the posts.

Instead saving it as a draft (actually it saves on the device but wont sync), it shows waiting for going online as the status while trying to save the article in background.

We can re-create the scenario with these simple steps. Let me know if you need anything else. I'm able to go through the code and test if you need me to do so.

@mlakra
Copy link

mlakra commented Dec 2, 2018

@vickychijwani Is there any update on this issue? I'm facing the same problem. Error: "Saved on device, waiting to go online..."
My ghost version is 2.4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants