Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Main page permissions  (Read 599 times)

0 Members and 1 Guest are viewing this topic.

Fity

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Main page permissions
« on: July 25, 2018, 02:09:05 am »

I think I have a reasonable understanding of the permissions now, but for some reason there is one thing I can't solve.

I have CPG1.6 and VB4 bridged and have set the permissions in CPG to my liking as far as the categories and albums go.  However on the main page if I display any thumbnails by including "Random Images" or Latest album" etc, the permissions are not used.  Thumbnail images are displayed for users without permissions to view the image.  If they click on the thumbnail they will receive a "No permission" message, so I know that I have set the permission OK.

Are the main page thumbnails bound by the album permissions that the image resides in?  Or am I missing a setting somewhere?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15527
Re: Main page permissions
« Reply #1 on: August 16, 2018, 03:08:08 pm »

on the main page if I display any thumbnails by including "Random Images" or Latest album" etc, the permissions are not used

Does this just happen on the main page, or also when you're viewing the actual meta album (http://coppermine-gallery.net/demo/cpg15x/thumbnails.php?album=lastup)? Does it happen for all meta albums or just a few?
Logged

Fity

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: Main page permissions
« Reply #2 on: August 22, 2018, 01:25:48 am »

It appears to occur only on the main page. I will carry out some more testing to confirm.

Currently our CPG1.6 is set up with around 20 images and 5 galleries as we are trying to configure CPG to our liking before migrating from CPG1.5.
Logged

Fity

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: Main page permissions
« Reply #3 on: August 22, 2018, 02:19:25 am »

I just did a few tests and it appears to be a problem with any thumbnail displayed on the main page.  ie latest, random, catergory list, album list, etc.

When viewing the actual meta album ( ....thumbnails.php?album=lastup) the permissions work and this message appears as expected.

Quote
Error
You are not allowed to view any images.
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 20 queries.