Fix #18991 -- Allow permission lookup by "if perm in perms" #404

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant
@akaariai
Member

akaariai commented Sep 28, 2012

When looking permissions from PermWrapper it is now possible to use
{% if "someapp.someperm" in perms %} instead of
{% if perms.someapp.someperm %} allowing for example using variables
for permission lookups.

Fixed #18991 -- Allowed permission lookup by "if perm in perms"
When looking permissions from PermWrapper it is now possible to use
{% if "someapp.someperm" in perms %} instead of
{% if perms.someapp.someperm %} allowing for example using variables
for permission lookups.
@akaariai

This comment has been minimized.

Show comment Hide comment
@akaariai

akaariai Sep 30, 2012

Member

Applied in d5a4f20

Member

akaariai commented Sep 30, 2012

Applied in d5a4f20

@akaariai akaariai closed this Sep 30, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment