Fork me on GitHub

PhotoGallery Permissions  Bottom

  • 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
  • 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
  • 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
  • 0 users

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