- <a class="systemMenu" href="logout.php">{$i18n.menu.logout}</a> ·
- <a class="systemMenu" href="profile_edit.php">{$i18n.menu.profile}</a> ·
- <a class="systemMenu" href="{$smarty.const.FORUM_LINK}" target="_blank">{$i18n.menu.forum}</a> ·
+ <a class="systemMenu" href="logout.php">{$i18n.menu.logout}</a>
+ {if $user->exists() && $user->can('manage_own_settings')}
+ <a class="systemMenu" href="profile_edit.php">{$i18n.menu.profile}</a>
+ {/if}
+ {if $user->can('manage_basic_settings')}
+ <a class="systemMenu" href="group_edit.php">{$i18n.menu.group}</a>
+ {/if}
+ {if $user->can('manage_subgroups')}
+ <a class="systemMenu" href="groups.php">{$i18n.menu.subgroups}</a>
+ {/if}
+ {if $user->can('manage_features')}
+ <a class="systemMenu" href="plugins.php">{$i18n.menu.plugins}</a>
+ {/if}
+ <a class="systemMenu" href="{$smarty.const.FORUM_LINK}" target="_blank">{$i18n.menu.forum}</a>