ifhasperm template tag is no longer dependant on request object in template context (which is not present by default.) However it is now dependant on user object being in the context (which it is by default.)
Bitbucket cannot automatically merge this request due to conflicts.
Review the conflicts on the Overview tab. You can then either decline the request or merge it manually on your local system using the following commands: