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.

39 lines
661 B

  1. ::use 'amapadmin/design.mtt'::
  2. <h3>::_("Management of rights and access")::</h3>
  3. $$insert(::_("Add a right")::,/amapadmin/editRight)
  4. <table class="table table-bordered">
  5. <tr>
  6. <th>::_("Name")::</th>
  7. <th>::_("Rights")::</th>
  8. <th>::_("Actions")::</th>
  9. </tr>
  10. ::foreach u users::
  11. <tr>
  12. <td>
  13. ::u._user.getName()::
  14. </td>
  15. <td>
  16. <ul ::cond u._rights!=null::>
  17. ::foreach r u._rights::
  18. <li>::u.getRightName(r)::</li>
  19. ::end::
  20. </ul>
  21. </td>
  22. <td>
  23. $$insert(::_("Modify")::,/amapadmin/editRight/::u.userId::)
  24. </td>
  25. </tr>
  26. ::end::
  27. </table>
  28. ::end::