Menu

#1 only registered users create petitions

open
nobody
None
5
2002-02-07
2002-02-07
No

How do I set it so that only REGSITER USERS to my site
can post petitions?

Discussion

  • patrick kuharic

    patrick kuharic - 2002-02-07

    Logged In: YES
    user_id=293178

    hi,

    to set it up so that only registered users can post a
    petition
    to your postnuke .703 website:

    1. login to postnuke as the administrator

    2. go to the Administration Menu (admin.php)

    3. click on Permissions

    4. View Group permissions

    5. Add Group permission

    6. Save new permission after entering the following:
    Realm = All realms
    Group = Unregistered
    Component = SimPetition::
    Instance = .*
    Permissions Level = Read

    7. Also, save another new permission with this:
    Realm = All realms
    Group = Users
    Component = SimPetition::
    Instance = .*
    Permissions Level = Add

    8.
    Now, make sure that when you go to View group permissions,
    any lines in which Component is "SimPetition::" are ABOVE
    any lines in which Group "Users" or Group is "Unregistered"
    AND Component is ".*" AND Instance is ".*"

    9.
    You need to update two files to make sure you have the right
    version. These two files are authority_initiatepetition.php
    and authority_component_name.php

    Place those two files in your
    /html/modules/NS-SimPetition/fundefs/ directory (overwriting
    old versions of any files you already have) once you get
    them.

    The authority_initiatepermission.php file should contain the
    line:
    return
    authorised(0,$authority_component_name,".*",ACCESS_ADD);

     
  • patrick kuharic

    patrick kuharic - 2002-02-07

    authority_component_name.php

     
  • patrick kuharic

    patrick kuharic - 2002-02-07

    authority_initiatepetition.php

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.