After DP 7.43 7.34 the files link for download is hidden for authorized users in the beta11 version, who was working before upgrade. I have tried to run patches and upload Beta (Dev) version for both Fileds permission and Fields Collection without any changes.
I have tried all kinds of permission for the fields "file" in the Fields Collections "fields" , but the only one who can see or download is user who has permission to override the permissions.

This bug is related to Fields Collection Fields - type: files when setting the fields Permission module for the Fields who handle file.
The Bug is related to the module file settings at "Manage File" and for the moment you are not able to create "file attachment" link for download the file. The choice "Download Link" makes the file invisible for authorized user.

The other fields in Filelds Collection "set" is showing up correctly against the permitted roles - there seams to be something missing in the handle of file-permission in Fields Collection.

I did try to write a Views page set also, with same results!!!

Please note that this is a very important function, where Drupal is able to chose the permitted user (roles) who are authorized to see and download files. Is a peace of the Hart-function in Drupal.

Please help us to get this bug fixed

Comments

Göran created an issue. See original summary.

Göran’s picture

Göran’s picture

Issue summary: View changes
Göran’s picture

Issue summary: View changes
Göran’s picture

Problem Detected - This Bug is related to compatibility mismatch between File Module and Field Permission module

Reason:
If FORMAT setting for the files Field not is set to "Generic file" under the "Manage Display" settings for the content type (or Field Collection - Manage fields), the field permission to authorized Roles will fail.
In my Case the setting for the file - field was set to "Download Link"

It could be good to ad a bug-warning in the "Read Me" document on how to handle Files Module setting under "Manage Display". ;)

Maybe this bug also can be fixed in the future, so Fields Permission works against the Files Module settings under all alternatives format setting under the "Manage Display" for content types, or for Field Collections setting. The Bug behave the same in both cases.

Göran’s picture

Priority: Critical » Minor
Göran’s picture

Assigned: Unassigned » Göran
Status: Active » Closed (fixed)
Göran’s picture

Status: Closed (fixed) » Needs work
Göran’s picture

Assigned: Göran » Unassigned
Göran’s picture

Priority: Minor » Major

Higher the priority by the fact that "download files" not work with the default setting of: "Generic file"

The link "Generic File" open the file in a new window, not so good! ;(

Göran’s picture

Issue summary: View changes
Göran’s picture

Title: Field collection fields for files not working with fields permission. Files is hidden for authorized roles » Field for files module fail with fields permission, depending on settings. "Download files" is hidden for authorized roles
Göran’s picture

Category: Bug report » Task
Status: Needs work » Postponed
Issue tags: +download link
Göran’s picture

This bug seams to be related to "File Entity Module" (only).
New Issue here: https://www.drupal.org/node/2781275