WordPress.org

Ready to get started?Download WordPress

Forums

Role scoper: Restricting a category to a certain group? (2 posts)

  1. LostInNetwork
    Member
    Posted 6 years ago #

    1) I have created a group called "Admin messages" and assigned members to the group.

    2) Next I changed "Post reader" and "Private Post Reader" to "blog role ignored" in "Exclusive sections" for the category "Admin messages"

    3) Now these (private) admin messages are not be visible to anyone. Next I want to make them visible to the Admin messages group. How? I tried Groups -> Section Roles -> Category Roles -> Admin messages category: Private Post Reader = Admin messages

    Those posts never show, though. Neither in the categories list nor in the archives.

    What am I doing wrong?

  2. kevinB
    Member
    Posted 6 years ago #

    @LostInNetwork,

    Now these (private) admin messages are not be visible to anyone. Next I want to make them visible to the Admin messages group. How? I tried Groups -> Section Roles -> Category Roles -> Admin messages category: Private Post Reader = Admin messages

    Those posts never show, though. Neither in the categories list nor in the archives. What am I doing wrong?

    You didn't do anything wrong; I did. Group membership was not being credited because I typed
    if ( defined( ENUMNAME ) )
    instead of
    if ( defined('ENUMNAME') )

    I fixed this in Role Scoper 0.9.5:
    release notes
    download

    Your Private Posts should now show for any logged user who has the Private Post Reader role by user OR group assignment.

    Thanks for the report.

    - Kevin

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.