Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Problem with permissions
  • Posted: 20.09.2007, 19:23
     
    newbster
    rank:
    Registered User Registered User
    registered:
     September 2007
    Status:
    offline
    last visit:
    20.09.07
    Posts:
    1
    Hello all,

    i am rather new to PostNuke so please excuse my ignorance. I have read the permissions section of the user manual, an I have searched a little bit on the subject looking for an answer. I figured I would ask the professionals rather than continue searching and maybe finding a wrong answer.

    My problem is this - I have a a guild site for an mmo that has a (using PN lingo) topic that contains an article published in it. I want to give unregistered users the perms to post comments to that article and that article only. In the user manual it said "Another example is the Topics module, for this the component would be Topics::Topic however to restrict a specific topic, you need the instance: Topic name::Topic ID."

    Here is the specifics regarding my site:
    Topic Name: howtojoin (this is the name that it says PostNuke uses internally to refer to the topic)
    Topic Desc.: Looking to join our guild?
    ArticleID: 1 (this is the article published under the topic above)
    Article Name: Guild Applications

    If anyone could please help me set the right permissions I would be eternally grateful. Right now I have the default perms on the site as I have not added anything to it.

    I tried various iterations of the below with no avail:
    Topics::Topic howtojoin::1 comment
    Topics::howtojoin Guild Applications::1 comment
    etc...

    please HELP!!!!!!!! :D




    edited by: newbster, Sep 20, 2007 - 02:26 PM
  • Posted: 20.09.2007, 20:53
     
    nestormateo
    rank:
    Professional Professional
    registered:
     September 2006
    Status:
    offline
    last visit:
    22.11.08
    Posts:
    1451
    Hi and Welcome to the PostNuke Community Forums!

    I can read in the 0.764 News Module, that the securitycheck is about this rules:
    'Stories::Story', "$info[aid]:$info[cattitle]:$info[sid]"
    'Topics::Topic', "$info[topicname]::$info[tid]"

    I think that to allow unregistereds comments in the articleID=1 only,
    you must declare this rule:
    Unregistered | Stories::Story | 1 | Comment

    This rule must override the general one that just give read access,
    this mean, this rule must be *before* that:
    Unregistered | .* | .* | Read

    I hope this works!
    tell us

    --
    - Mateo T. -
    Mis principios... son mis fines

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula