Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Access to album  (Read 5933 times)

0 Members and 1 Guest are viewing this topic.

steph66

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Access to album
« on: May 06, 2014, 12:45:42 am »

I have profiled all my coppermine user with category and group to hide some album to same user and have visible some other album. Even if I have defined visible for a specific group all album are visible to everyone.
Why this happen?
Have you some suggestions?
Thanks for your help.
Stefano
Logged

gmc

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 785
    • GMC Design Photo Gallery
Re: Access to album
« Reply #1 on: May 06, 2014, 05:02:25 am »

A users security in CPG is the sum of all groups they belong to... So if ANY group the user is attached to can view the album, then they will be able to...

I would need more specific details on your album and group definitions to provide more assistance.
Logged
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

steph66

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Access to album
« Reply #2 on: May 09, 2014, 10:41:51 pm »

Question is that:

  • I created a user and I assigned to this user one group, only one group!
  • I created one category with the same group name
  • I created one category with the same group name
  • I created the album and in the field "Album can viewed by" I inserted the line that report that it can be accessed only by "memeber of group A" where A is the group i created

If I check "Album permission by group" in the profile I see the album I assigned and another album that I didn't assigned.
I need that user profile A when access to Coppermine installation can see only 1 album.
Can you help me? If more info is needed ask!
Thanks
Stefano
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Access to album
« Reply #3 on: May 16, 2014, 11:28:23 am »

If you want to hide the other albums, you need to set the permissions of that albums to a group the user isn't assigned to.
Logged

steph66

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Access to album
« Reply #4 on: May 16, 2014, 06:23:34 pm »

I have done in this way I created a group separate for that user and for that album..... :-\
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.