#975 RBAC for port control with new portctl_by_role setting
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[% SET user_can_port_control = user_has_role('port_control') %]
|
||||
[% SET user_can_port_control = user_has_role('port_control', d) %]
|
||||
<table class="table table-condensed table-striped">
|
||||
<tbody>
|
||||
<tr>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[% SET user_can_port_control = user_has_role('port_control') %]
|
||||
[% SET user_can_port_control = user_has_role('port_control', device) %]
|
||||
<table id="dp-data-table" class="table table-bordered table-striped" width="100%" cellspacing="0">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user