Fork me on GitHub

Caterories permissions on News  Bottom

  • Hi.
    I was using the former postnuke, where instances were:
    Stories::Story => Author ID:Category name:Story ID
    Stories::Category => Category name::Category ID

    Now instance for News module on zikula can only be like this:
    Stories::Story => Author ID::Story ID

    I was using this to filter news on main page, and to display only some categorized news for some groups of people. Now i don't know how to do this.

    Does someone have an idea about that?

    Have a nice day
  • Hi, this is still possible, but due to the fact that Categories are centralized now it is a little different in Zikula.
    Check out this ticket #80 in the News project for more info and this Forum topic on how to specify category permissions for the News module

    --
    campertoday.nl, Module development, Dutch Zikula Community
  • ok, i found a way to do it:
    I created one category for each group, then
    disabled categorized news for everyone, then
    enabled each category for each group (see below permissions)

    Without Stories::Story => :: unregistered can't see anything (it's first tested in the code of pnuser.php) and i would like unregistered to see only one category, after disabling everything to them... can't find how to do it. In the sample below, unregistered can see uncategorized news, and categorized news with category 'unregistered'. But i don't find a way to let them see category 'unregistered' only... any idea?

    Is there a shorter syntax to set instances? this one is too long, and appears mixed with next column one the permissions page.

    Thanks for your help

    .....
    (23) Training Categories::Category:/__SYSTEM__/Modules/Global/Training: Comment
    (14) Board Categories::Category:/__SYSTEM__/Modules/Global/Board: Comment
    (15)CabinCategories::Category:/__SYSTEM__/Modules/Global/Cabin:Comment
    (26)UnregisteredCategories::Category:/__SYSTEM__/Modules/Global/Unregistered:Read
    (10)All groupsCategories::Category.*None
    (3) Users .*.* Comment
    (22) Unregistered Stories::Story:: Read
    (4) Unregistered Loginblock:::: Read
    (5) Unregistered .*.* None
  • 0 users

This list is based on users active over the last 60 minutes.