Loading...
 
Skip to main content

Private blog postings should not appear in the linked list

Status
Closed
Subject
Private blog postings should not appear in the linked list
Version
11.x
Category
  • Error
Feature
Blog
Resolution status
New
Submitted by
alain_desilets
Volunteered to solve
manivannans
Lastmod by
alain_desilets
Rating
(0)
Description

If I write a blog post and save it as Private, then other users cannot actually read the blog post.

However, if they visit the blog post that immediatly precedes it, they will see a link to that private post. When they click on it, they won't be able to actually see it, which is annoying. And in any case, maybe I didn't want these other people to even see the title of my private post.

I have been able to reproduce the bug on Tiki Show.

If you login as anonymous and go to this URL:

http://user-10156-4748.show.tikiwiki.org/tiki-view_blog_post.php?postId=1

You will see a blog post that is PUBLIC. And at the bottom right is a link "This is a PRIVATE post →". If you click on that link, you get "You are not logged in. Go to Log in Page". That's because the blog post the link points to is PRIVATE, and you are not allowed to read it. But by the same token, you should not even be able to know that it exists, let alone know its title.

Solution

private blog post links are filtered from other users view on adjacent blog navigation links.

Please check this commit id: 48143

Importance
5
Easy to solve?
8
Priority
40
Demonstrate Bug on Tiki 19+
Please demonstrate your bug on show2.tiki.org
Demonstrate Bug (older Tiki versions)
Ticket ID
4748
Created
Thursday 12 September, 2013 18:07:29 UTC
by alain_desilets
LastModif
Tuesday 29 October, 2013 14:39:57 UTC


Show PHP error messages