Fix for "has permission" filter
Merge pull request #601 from tonymanou/patch-1

Fix for "has permission" filter