WordPress.org

Ready to get started?Download WordPress

Forums

Logged in
Compatibility with "private" posts? (2 posts)

  1. tanster
    Member
    Posted 2 years ago #

    First, awesome plugin, thanks so much! :)

    Just one thing: when I activate the plugin and log in as a non-admin user, I can see posts that are specified as "private."

    If I deactivate the plugin and log in as a non-admin user, "private" posts are properly hidden.

    Thanks!
    -Jennie

    http://wordpress.org/extend/plugins/logged-in/

  2. Simon Fransson
    Member
    Plugin Author

    Posted 2 years ago #

    I tried reproducing the issue you're describing on a clean install using Twenty Eleven and Logged in 1.0.3, and I did not experience any problems. When accessing the site with and admin account I can see the private post both when Logged In is enabled and disabled. I get the same results when I access the site using subscriber and author accounts.

    I think though, that private post access is restricted by user role, for example an author can't access private posts created by an admin. Further more, Logged In does not restrict site access in any other way than that it checks for a logged in user, and if that cannot be found it redirects to the login page. If your site is available online I'd be happy to have a quick look.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.