Skip to content

Commit dac7ef8

Browse files
author
Johannes Gijsbers
committed
Queries are no longer viewable to unauthorized users.
1 parent 8a3a169 commit dac7ef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/classic/html/user.item.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h2>
7878
</table>
7979
</form>
8080

81-
<table class="otherinfo" tal:condition="context/queries">
81+
<table class="otherinfo" tal:condition="python:context.queries and context.is_view_ok()">
8282
<tr><th colspan="3" class="header">Queries</th></tr>
8383
<tr><th>Name</th><th colspan="2">Actions</th></tr>
8484
<tr tal:repeat="query context/queries">

0 commit comments

Comments
 (0)