Fork me on GitHub

Permission Set...?  Bottom

  • Dear experts,

    I am having difficulty setting the permission for the Unregistered members. I want to set a permission which only allow registered members to enter the games module. Can you should me how to do that?
  • theunknown

    Dear experts,

    I am having difficulty setting the permission for the Unregistered members. I want to set a permission which only allow registered members to enter the games module. Can you should me how to do that?


    Restricting access to modules very from module to module. I have collected a list of permission primers from past posts and other resources that may be useful. Please take a look, try a few things, then post your questions. I'll be happy to help :D

    Forum Posts:

    http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=6614 (Setting up a group to allow special users to post news to admin panel [Add Story])

    http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=6130 (More on users posting news to admin panel [Add Story])

    http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=6695 (Setting up permissions for Downloads)

    http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=6687 (posting comments for unregistered users)

    Here's a short document explaining why some permission rules don't work as one might expect them to: http://sourceforge.net/docman/display_doc.php?docid=13645&group_id=27927

    More Permission Documentation:

    http://forums.postnuke.com/pnGuide/permissions.html
    http://www.syriatourism.org/new/manual/permissions.html
    http://news.postnuke.com/modules.php?op=modload&name=News&file=article&sid=1648
    http://news.postnuke.com/modules.php?op=modload&name=News&file=article&sid=1650
    http://centre.ics.uci.edu/~grape/modules.php?op=modload&name=Wiki&file=index&pagename=Permission%20Samples
  • I set it
    Unregistered| Modules::| Games: |None

    Doesnt work. Could you helP?
  • theunknown

    I set it
    Unregistered| Modules::| Games: |None

    Doesnt work. Could you helP?


    Did you place the permission in the right order? Can post a screen shot or print the order of your other permissions? Also please provide a download link to the games module so I can install it and check it out.
  • Hi,

    This is the permission in order

    Admins .* .* Admin
    All groups Menublock:: Main Menu:Administration: None
    Users .* .* Comment Edit | Delete
    Unregistered Menublock:: Main Menu:(My Account|Logout|Submit News): None
    Unregistered .* .* Read
    Unregistered Modules:: Games: None

    ========
    Game link:http://js.troysservices.com/
  • theunknown

    Hi,

    This is the permission in order

    Admins .* .* Admin
    All groups Menublock:: Main Menu:Administration: None
    Users .* .* Comment Edit | Delete
    Unregistered Menublock:: Main Menu:(My Account|Logout|Submit News): None
    Unregistered .* .* Read
    Unregistered Modules:: Games: None

    ========
    Game link:http://js.troysservices.com/


    Try moving the permission up one like so:

    Unregistered Modules:: Games: None
    Unregistered .* .* Read
  • I still can see the game page. I logged out as admin, and I still can see it
  • theunknown

    I still can see the game page. I logged out as admin, and I still can see it


    Sorry. The syntax is incorrect for the permisson. Try this.


    | Unregistered | Games:: | .* | None |
    | Unregistered | .* | .* | Read |
  • Unregistered Games:: .* None

    No. that still does nto do. *sighs..
  • theunknown

    Unregistered Games:: .* None

    No. that still does nto do. *sighs..


    Can I have a download link to the games module so I can install and test it? Perhaps I can figure out what's wrong then.
  • I've already posted in the earlier post. hehehe

    Game link:http://js.troysservices.com/
  • theunknown

    I've already posted in the earlier post. hehehe

    Game link:http://js.troysservices.com/


    Whoa... this is a huge module :shock:

    I am not a programmer but judging from from what I can see this module is not pnAPI compliant and is not configured for the permissions system using the PostNuke Security Authorization Schema.

    Example: pnSecAddSchema('Games::' , 'name:Category: ID');

    "This was a phpnuke module. I ported it over to postnuke and changed the layout. If you need help installing drop by the forum."

    In order to get this module to respond to permissions you have to include files to enable it to be configured for PN Module Authorization.

    http://pnapi.com/index.php?module=ContentExpress&func=display&ceid=9&bid=22&btitle=documentation&meid=28
  • ahhh.. I'm clueless of what you sent me. Anyways, I guess I'll leave it the way it is then.

    Are u familiar with the htmlpages module? Is there anyway you can set the permission for only a particular page ID?
  • theunknown

    ahhh.. I'm clueless of what you sent me. Anyways, I guess I'll leave it the way it is then.

    Are u familiar with the htmlpages module? Is there anyway you can set the permission for only a particular page ID?


    No, I need to check that one out when I have more time. If the htmlpages module is pnAPI compliant or uses the PN authorisation scheme then it should work with permissions :D
  • 0 users

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