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

Fixed "View deleted albums" not working?

Discussion in 'Media Gallery Resolved Bugs' started by imthebest, Aug 27, 2015.

  1. imthebest

    imthebest Formerly Super120

    Hi,

    I have the permission "View deleted albums" set to "Yes" however it looks like I can't see deleted albums. The permission "View deleted media" works fine (it is set to "Yes" and I can see deleted media).

    Thanks,
    Super120
     
  2. imthebest

    imthebest Formerly Super120

    For other people's albums, I can see their deleted albums only if I know the URL for direct access. For my own albums, I can see my deleted albums at regular places like my profile ("Albums" tab) or when viewing /media/albums (as it should be because I have the "View deleted albums" permission).
     
    Last edited: Aug 27, 2015
  3. Chris D

    Chris D XenForo Developer Staff Member

    This has been fixed now, thanks, but probably not quite how you were expecting.

    When an album is deleted, it is also made private. You should only be able to see a deleted album if it is your own, or if you have the viewOverride permission.

    The actual bug is that if you had the view deleted albums permission, there were no further checks of the view permissions of the album, effectively ignoring the "private" access.

    So, all of this is working as expected but this behaviour has changed:
    Accessing a deleted album that you don't have permission to view will now give you an error.
     
    imthebest likes this.

Share This Page