You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
661 B
40 lines
661 B
::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::
|