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

Dizkus

Bottom
Reviews Module Permissions
  • Posted: 02.02.2008, 00:26
     
    rkilmabi
    rank:
    Softmore Softmore
    registered:
     December 2007
    Status:
    offline
    last visit:
    24.02.08
    Posts:
    67
    I would like to allow users to post reviews without requiring the admin for approval. What permissions do I need to set up.

    Regards
  • Posted: 02.02.2008, 08:43
     
    AmmoDump
    rank:
    Professional Professional
    registered:
     December 2003
    Status:
    online
    Posts:
    2972

    Code

    if (pnSecAuthAction(0, 'Reviews::', "$title::", ACCESS_ADD)) {
                // Add immediately
                $column = &$pntable['reviews_column'];


    ADD.. icon_wink


    --
    David Pahl
    Zikula Support Team
  • Posted: 05.02.2008, 01:31
     
    rkilmabi
    rank:
    Softmore Softmore
    registered:
     December 2007
    Status:
    offline
    last visit:
    24.02.08
    Posts:
    67
    Sorry Dave, did not get a chance to respond earlier...where should i add this code? I thought we can achieve this through a set up of user permissions...do we need to change the code?
  • Posted: 05.02.2008, 18:26
     
    Topiatic
    rank:
    Professional Professional
    registered:
     November 2003
    Status:
    offline
    last visit:
    06.11.08
    Posts:
    1675
    Ammo was just showing you the code that already exists to control the review submit process. It shows that giving a group 'Add' level access to the reviews module will allow for immediate processing.

    --
    Under Construction!

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula