code from amapei

This commit is contained in:
cagette@ct8
2020-09-26 18:25:18 +00:00
parent 42fe367911
commit 72b4699871
1966 changed files with 220437 additions and 2 deletions
+40
View File
@@ -0,0 +1,40 @@
::use 'amapadmin/design.mtt'::
<h3>::_("Management of rights and access")::</h3>
$$insert(::_("Add a right")::,/amapadmin/editRight)
<table class="table table-bordered">
<tr>
<th>::_("Name")::</th>
<th>::_("Rights")::</th>
<th>::_("Actions")::</th>
</tr>
::foreach u users::
<tr>
<td>
::u._user.getName()::
</td>
<td>
<ul ::cond u._rights!=null::>
::foreach r u._rights::
<li>::u.getRightName(r)::</li>
::end::
</ul>
</td>
<td>
$$insert(::_("Modify")::,/amapadmin/editRight/::u.userId::)
</td>
</tr>
::end::
</table>
::end::