Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It's a big strange that the viewing of the gcal event needs a filter_access check. How would any user actually use the selected input format to simply view the gcal events block?
This is a simple patch to remove the filter_access() call from the display function.
After removal of the filter_access check, the block will display to everyone with whatever input filter was selected without the need to check if they have editing access to that filter or not, which it should never care about.
Comment | File | Size | Author |
---|---|---|---|
gcal.diff.txt | 660 bytes | endiku |
Comments
Comment #1
jdwfly CreditAttribution: jdwfly commentedI'm not sure why this check was in there, but it would seem to me that you are correct that the user viewing the page isn't inputting the data for the block. I'm good with removing it as I don't think it implicates any security issues.
Comment #2
jdwfly CreditAttribution: jdwfly commentedRemoved this code from dev version.