PostNuke: A Flexible Open Source Content Management System
home | forum | international support | contact us

Support Forum

Start ::  Extensions Support and Information ::  Modules ::  PhotoGallery Permissions

Moderated by: Support Team

Bottom
PhotoGallery Permissions

  • Link to this postingPosted: 05.05.2008, 22:43
    Profile Homepage
    damon
    rank:
    pnSoftmore pnSoftmore
    registered:
     
    Status:
    offline
    last visit:
    06.05.08
    Posts:
    70
    I've installed PhotoGallery by Nate Welch, very nice PostNuke compliant gallery.
    I'm having trouble enabling my Editors group to use the batch upload feature. Single uploads and editing the albums and photos works fine. When logged-in as an Admin I get a full slate of navigation in the PhotoGallery admin.
    Code
    [  Main | Add Photo  | Add Gallery  | Batch Add Photos  | Update Configuration   ]

    But when logged-in as an editor I only get
    Code
    [  Main  ]

    I've given the editors group these permissions
    Code
    7        Editors   PhotoGallery::   ::   Admin    
    8     Editors   PhotoGallery:Config:  ::   Admin    
    9     Editors   PhotoGallery:Batch:   ::    Admin

    Can anyone tell me what needs to be done to give the editors group full Admin links in PhotoGallery?

    Thanks,

    Damon

    -----
    Damon
    Catamaran Sailing at TheBeachcats.com
  • Link to this postingPosted: 05.05.2008, 23:54
    Profile Homepage
    videokid
    rank:
    pnProfessional pnProfessional
    registered:
     March 2003
    Status:
    offline
    last visit:
    07.05.08
    Posts:
    806
    It has been a while ago since I've used that module, there's a template you should check out
    xxx_galleryheader.htm

    I recall to change something over there... if it isn't that one, check out the others, there's a permission Smarty line somewhere...

    hope it helps

    - Igor

    -----
    Have a nice day
    PostNuke.be is currently running
    PN 0.8.0.0-RC3
  • Link to this postingPosted: 06.05.2008, 18:51
    Profile Homepage
    damon
    rank:
    pnSoftmore pnSoftmore
    registered:
     
    Status:
    offline
    last visit:
    06.05.08
    Posts:
    70
    Thanks for the reply Igor, after looking through the templates I found this at the top of
    photogallery_admin_menu.htm
    Code
    <!--[pnsecauthaction realm="0" comp="PhotoGallery:Gallery:Edit" inst=".*" level="ACCESS_ADD" assign="editgallery"]-->
    <!--[pnsecauthaction realm="0" comp="PhotoGallery:Config:" inst=".*" level="ACCESS_EDIT" assign="editconfig"]-->
    <!--[pnsecauthaction realm="0" comp="PhotoGallery:Batch:" inst=".*" level="ACCESS_EDIT" assign="editbatch"]-->

    and I changed my permissions to
    Code
    Editors  PhotoGallery:Config: .*   None   
    Editors  PhotoGallery::   .* Add  
    Editors  PhotoGallery::Edit   .* Add

    And now the Editors group can add/edit albums and photos, but can't get into the configuration area.

    Can anyone tell me if there is actually a difference between using
    Code
    .* versus ::

    when setting permissions?

    Thanks,

    -----
    Damon
    Catamaran Sailing at TheBeachcats.com

Start ::  Extensions Support and Information ::  Modules ::  PhotoGallery Permissions

Main Menu

Extensions Database

Documentation

Development

Login





 


 Log in Problems?
 New User? Sign Up!

Donate to PostNuke