The context_exists access plug-in has a single configuration field: exists defined in ctools/plugins/access/context_exists.inc on line 23.

The access check function ctools_context_exists_ctools_access_check() (line 34 of the same file) looks for the field context_exists instead. This results in all "context exists" access rules being evaluated as "context does not exist" access rules.

The attached patch amends ctools_context_exists_ctools_access_check() to use the correct field name.

CommentFileSizeAuthor
context_exists-field-name.patch638 bytesthsutton

Comments

merlinofchaos’s picture

Version: 6.x-1.3 » 7.x-1.x-dev
Status: Needs review » Patch (to be ported)

Committed to 6.x Needs porting to the 7.x version. Thanks!

merlinofchaos’s picture

Status: Patch (to be ported) » Closed (fixed)

All of the 'to be ported' patches got merged in during the porting sprint in September.