Fields in the Visible Column Selector filter are available even though the fields have been disabled for the user using the Views Field Permissions module.

This patch solves the problem.

Comments

matsbla created an issue. See original summary.

daveiano’s picture

Status: Active » Needs work

Thank you for your contribution, I have not yet tested the patch by myself, but the tests are green, that's good :)

It would be great if we could add a test for the most basic use case.

matsbla’s picture

StatusFileSize
new3.88 KB

Okay, will look into tests later when I have time.
For now just updating the patch adding moduleHandler using DependencyInjection

  • daveiano committed 5a972e8b on 2.x authored by matsbla
    Issue #3314281 by matsbla: Compatibility with views_field_permissions...
daveiano’s picture

Status: Needs work » Fixed

Added your commit to the 2.x branch, will be included in the next release.

Thank you very much!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.