Add common permission for sending user feedback

there can be valid reasons to *not* expose that, so let admin decide
This commit is contained in:
Lance Edgar 2020-03-23 19:33:00 -05:00
parent 51e1a85f0b
commit e04e67774e
4 changed files with 17 additions and 8 deletions

View file

@ -330,9 +330,11 @@
% endif
## Feedback Button / Dialog
<feedback-form
action="${url('feedback')}">
</feedback-form>
% if request.has_perm('common.feedback'):
<feedback-form
action="${url('feedback')}">
</feedback-form>
% endif
</div><!-- level-right -->
</nav><!-- level -->