feat(rbac): protect templates deployment (#34)
* feat(templates): show templates link * feat(templates): protect deploying of templates * feat(templates): allow fetching of templates to any user * feat(rbac): allow template file fetching
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<li class="sidebar-list">
|
||||
<a ui-sref="docker.dashboard({endpointId: $ctrl.endpointId})" ui-sref-active="active">Dashboard <span class="menu-icon fa fa-tachometer-alt fa-fw"></span></a>
|
||||
</li>
|
||||
<li class="sidebar-list" ng-if="!$ctrl.offlineMode" authorization="DockerContainerCreate, PortainerStackCreate">
|
||||
<li class="sidebar-list" ng-if="!$ctrl.offlineMode">
|
||||
<a ui-sref="docker.templates({endpointId: $ctrl.endpointId})" ui-sref-active="active">App Templates <span class="menu-icon fa fa-rocket fa-fw"></span></a>
|
||||
|
||||
<div class="sidebar-sublist" ng-if="$ctrl.toggle && $ctrl.currentRouteName.includes('docker.templates')">
|
||||
|
||||
Reference in New Issue
Block a user