Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Commit fd2a108

Browse files
committed
Hide connections chooser from users that don't have the required permissions
1 parent da743ad commit fd2a108

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/js/app/core/layout/partials/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</li>
2121

2222
</ul>
23-
<ul class="nav navbar-nav navbar-right hidden-xs" style="margin-right: 5px">
23+
<ul class="nav navbar-nav navbar-right hidden-xs" style="margin-right: 5px" ng-if="user.hasPermission('connections','read')">
2424
<li data-ng-show="isAuthenticated()" uib-dropdown is-open="isOpen" auto-close="disabled" keyboard-nav>
2525
<a class="clickable" uib-dropdown-toggle>
2626
<i class="mdi mdi-18px mdi-cast-connected"></i>

0 commit comments

Comments
 (0)