Commit 2aa2f6b5 authored by Mathieu Giraud's avatar Mathieu Giraud

views/user/info.html: also display user group

Most of the time, it is now the most important group and the place
to check or update the permissions.

Fix #2077.
parent fa818358
......@@ -30,7 +30,6 @@ query = db(
</thead>
<tbody>
{{for row in query :}}
{{if row.auth_group.role[:5] != "user_" :}}
<tr>
<td>{{=row.auth_group.role}}</td>
<td>{{if auth.can_modify_group(row.auth_group.id, request.vars["id"]) :}}
......@@ -41,7 +40,6 @@ query = db(
</td>
<td> X </td>
</tr>
{{pass}}
{{pass}}
</tbody>
</table>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment