You are not authorized to access this page when accessing private files

Created on 30 May 2023, over 1 year ago

I have a role with access to allow both anonymous users and authorized users to a collection of nodes. The access works fine for the web pages themselves, but there is an attached file that the link will trigger a "You are not authorized to access this page" rather than downloading the image. Authenticated and admin users can download the file fine. Permissions have been rebuilt.

πŸ› Bug report
Status

Fixed

Version

1.6

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States ebremer

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ebremer
  • πŸ‡ΊπŸ‡ΈUnited States ebremer

    Problem solved. The inaccessible nodes were part of an unpublished moderation state via the workflow module. The nodes showed in a list but were not "Published". Their moderation states were moved to "Published" and a filter on the view showing them was added to only show "Published" moderation states (once the moderation state was added to the search index) to prevent users from thinking they were published when they were not.

  • Status changed to Fixed over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States ebremer
  • Status changed to Fixed over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States ebremer
Production build 0.71.5 2024