1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Missing verification of View Media permission on album create

Discussion in 'Media Gallery Resolved Bugs' started by thedude, Feb 23, 2015.

  1. thedude

    thedude Well-Known Member

    XFMG 1.03

    Function: XenGallery_ControllerPublic_Album actionCreate

    Line 995

    In addition to checking $canChangeAddPermission, there should be

    if (!$canChangeViewPermission && ($viewMedia != $options->xengalleryAlbumViewPerm))
          $viewMedia = $options->xengalleryAlbumViewPerm;
  2. Chris D

    Chris D XenForo Developer Staff Member

    This is fixed now, thanks.

Share This Page