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:
parent
51e1a85f0b
commit
e04e67774e
4 changed files with 17 additions and 8 deletions
|
@ -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 -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue