fix(roles): Missing manage access button in user roles [EE-1875] (#5891)

fix(roles): Missing manage access button in user roles [EE-1875]  (#5891)
pull/5643/merge
Marcelo Rydel 3 years ago committed by GitHub
parent 62f418836f
commit d4fd295c86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -33,10 +33,10 @@
<td <td
>{{ item.TeamName ? 'Team' : 'User' }} <code ng-if="item.TeamName">{{ item.TeamName }}</code> access defined on {{ item.AccessLocation }} >{{ item.TeamName ? 'Team' : 'User' }} <code ng-if="item.TeamName">{{ item.TeamName }}</code> access defined on {{ item.AccessLocation }}
<code ng-if="item.GroupName">{{ item.GroupName }}</code> <code ng-if="item.GroupName">{{ item.GroupName }}</code>
<a ng-if="item.AccessLocation === 'endpoint'" ui-sref="portainer.endpoints.endpoint.access({id: item.EndpointId})" <a ng-if="!item.GroupName" ui-sref="portainer.endpoints.endpoint.access({id: item.EndpointId})"
><i style="margin-left: 5px;" class="fa fa-users" aria-hidden="true"></i> Manage access ><i style="margin-left: 5px;" class="fa fa-users" aria-hidden="true"></i> Manage access
</a> </a>
<a ng-if="item.AccessLocation === 'endpoint group'" ui-sref="portainer.groups.group.access({id: item.GroupId})" <a ng-if="item.GroupName" ui-sref="portainer.groups.group.access({id: item.GroupId})"
><i style="margin-left: 5px;" class="fa fa-users" aria-hidden="true"></i> Manage access ><i style="margin-left: 5px;" class="fa fa-users" aria-hidden="true"></i> Manage access
</a> </a>
</td> </td>

Loading…
Cancel
Save