﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
30705	Django template permissions not working when used inside the template of an inclusion tag	erev0s	nobody	"I have 2 apps in a Django Project i am using to learn django. In the app A I have an inclusion tag where I am using a template named `templateA.html`. This inclusion tag is being used in the app B, inside the template `templateB.html`. The content of `templateA.html` is shown properly inside `templateB.html`. 

I noticed though that when I am attempting to check permissions of the user using code similar to the following:
{{{
{% if perms.appA.can_do_something %}
show something here
{% endif %}
}}}
then, if I include that code in `templateA.html` it is not working, while if I use it in `templateB.html` it is working properly.  I am mentioning again that the `templateA.html` is the one used in the inclusion tag I am using in the `templateB.html`.
"	Bug	closed	Template system	2.2	Normal	invalid	permissions, inclusion tag		Unreviewed	0	0	0	0	0	0
