bridgekeeper icon indicating copy to clipboard operation
bridgekeeper copied to clipboard

Add templatetags has_perm

Open weber-s opened this issue 3 years ago • 1 comments

This PR add the useful has_perm templatetags, similar to django rules.

Usage example:

{% has_perm "app.action" request.user object as can_do_action %}
{% if  can_do_action %}
   Do stuff
{% endif %}

weber-s avatar May 19 '22 14:05 weber-s

any news on this PR?

weber-s avatar Oct 24 '22 15:10 weber-s