Added team_id to project delete and update queries to reduce risk of misuse.
[timetracker.git] / WEB-INF / templates / profile_edit.tpl
index 955f7d5..244c6cb 100644 (file)
@@ -141,7 +141,7 @@ function handlePluginCheckboxes() {
             <td align="right">{$i18n.label.currency}:</td>
             <td>{$forms.profileForm.currency.control}</td>
           </tr>
-  {if defined(DEBUG_ROLES)}
+  {if $user->can('manage_roles')}
           <tr>
             <td align="right" nowrap>{$i18n.label.roles}:</td>
             <td><a href="roles.php">{$i18n.label.configure}</a></td>