Bug #5188
closedNot allowed to edit social paper
0%
Description
I tried to disable editing for https://commons.gc.cuny.edu/papers/cuny-cat-meeting-notes-1292016/ but I receive the error, "You are not allowed to edit this item."
Files
Updated by Boone Gorges about 9 years ago
- Assignee set to Raymond Hoh
- Target version set to 1.9.7
Ray, could you try to reproduce and diagnose, please?
Updated by Raymond Hoh about 9 years ago
- Status changed from New to Reporter Feedback
I wasn't able to reproduce Raffi's bug.
I created a private paper, then I reopened the paper and edited it. Next, I toggled the "Enable Editing" button and could not duplicate the error.
Looking into the source, it looks like the "You are not allowed to edit this item" notice appears if the AJAX nonce is invalid:
https://github.com/cuny-academic-commons/social-paper/blob/master/includes/class-cacsp-fee.php#L37-L39
Raffi, did you do anything unique to get this notice to show up? Did you leave the paper open overnight and then resumed editing?
Updated by Raymond Hoh about 9 years ago
- Assignee changed from Raymond Hoh to Raffi Khatchadourian
Updated by Boone Gorges about 9 years ago
- Target version changed from 1.9.7 to 1.9.8
Updated by Raffi Khatchadourian almost 9 years ago
- Assignee changed from Raffi Khatchadourian to Raymond Hoh
Sorry guys, this one fell through the cracks. Yes! I believe I was idle for some time, but, I don't know how much time.
Updated by Raymond Hoh almost 9 years ago
- Status changed from Reporter Feedback to Rejected
Thanks for getting back to me, Raffi. I'm going to close this ticket for now to clear the milestone.
If you are able to duplicate this again, please reopen and let us know how to replicate the issue.