Registered users can see unpublished albums

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

Comments

  • acrylian Administrator, Developer

    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).

  • ctdlg Member
    edited September 16

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

  • acrylian Administrator, Developer

    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.

  • Sorry for the french screenshot.

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

  • acrylian Administrator, Developer
    edited September 17

    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.

  • Thank you for your explanations.

Sign In or Register to comment.