More refactoring of rights checks (#61)
authorbonnedav <theD_2011@hotmail.com>
Tue, 3 Apr 2018 12:53:55 +0000 (06:53 -0600)
committeranuko <support@anuko.com>
Tue, 3 Apr 2018 12:53:55 +0000 (12:53 +0000)
commit2df50105b46a5cbd6493271b137a136ccfe2ea5a
treec87df56acf8c0e26834e74cb3c5fdc858d1b97a2
parent3bf66d275fd148785cd2132dd5013c2960e81eac
More refactoring of rights checks (#61)

* Refactor predefined_expenses.tpl to use rights checks

* Refactor notifications.tpl to use rights checks

* Refactor invoices.tpl to use rights checks

* Refactor projects.tpl to use rights checks

* Update users.php

* Refactor desktop projects.tpl to use rights checks

* Refactor expenses.php to remove stray canManageTeam() call

* Refactor mobile users.php to remove stray canManageTeam call

* Refactor mobile expenses.php to remove stray canManageTeam() call

* Refactor time.php to remove stray canManageTeam call
WEB-INF/templates/invoices.tpl
WEB-INF/templates/mobile/projects.tpl
WEB-INF/templates/notifications.tpl
WEB-INF/templates/predefined_expenses.tpl
WEB-INF/templates/projects.tpl
expenses.php
mobile/expenses.php
mobile/users.php
time.php