Switched to using cached_has_permission in templates, rather than having those permissions in template context
Merge pull request #332 from open-craft/eugeny/discussion-backport

Cached_has_permissions in templates instead of pre-calculated context variables