Member
Member
ctdlg   2024-09-16, 07:15
#1

Hello,

Using Zenphoto 1.6.4.

Visitors cannot see unpublished albums. OK !

Users admin page, albums section : unpublished elements box is unchecked.
Registered users can see those unpublished sub albums. They should not !

Bien cordialement

Administrator
Administrator
acrylian   2024-09-16, 07:38
#2

Check which rights the users in question have. Info abou that here: https://www.zenphoto.org/news/user-rights/

Also try 1.6.5b as there have been some fixes in that regard (although actually in another area).

Member
Member
ctdlg   2024-09-16, 15:38
#3

@acrylian :
I did check the page you mention before posting.
1.6.5b does not solve the problem.
Here are my user settings
Screenshot

Administrator
Administrator
acrylian   2024-09-16, 16:04
#4

The screenshot being French makes it a bit complicated (please always use English in the future ;-)).

You have enabled "Access all" (ALL_ALBUMS_RIGHTS) rights. "View unpublished" is for front end only (as our doc mentions) as the backend for management does not make any difference here.

If you really want to limit what users can see you have to define managed albums.

Member
Member
ctdlg   2024-09-17, 06:56
#5

Sorry for the french screenshot.

Front end and
"View unpublished disabled"
does not work with registered user.
Conflicts with Access all" (ALL_ALBUMS_RIGHTS) ?

Administrator
Administrator
acrylian   2024-09-17, 07:56
#6

Conflicts with Access all" (ALL_ALBUMS_RIGHTS) ?

Yes, it is a superior right that grants access to all and therefore overpowers the "View unpublished" right. Disabling both should actually achieve what you want.

Member
Member
ctdlg   2024-09-17, 17:28
#7

Thank you for your explanations.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.