I have an custom entity (built with eck) and a field with permissions only for admin. Also, I have a view that shows fields from that entity.

The view is ok for admin but not for other roles. Other roles can see all fields except the one with field permissions enabled. This happens even though the view has the "Disable SQL rewriting" option enabled.

I only managed to make it show the field only by changing the field permissions and let those roles edit the field as well

Comments

nonsie’s picture

Same issue here. Not sure if this is because of Field Permissions or Views though.

asirjacques’s picture

Hi,

I did have the exact same issue and choosing ' Private (only author and administrators can edit and view)' and uncheck private field did the trick for me.

So far so good...

C-Logemann’s picture

Issue summary: View changes

I can confirm this issue. Changing the settings of field permissions isn't a good solution in any case.
I believe this problem need to be solved in field_permissions and views together. But maybe this is only an issue for views. May actual problem I solved with a user_switch as workaround like described at this places:
#1793862: Execute scheduled rules as super admin instead of Anonymous
#1334088: Execute as User 1 - skip permission step