Actions
Bug #13650
closedUser with a wireguard permissions not able to edit peers/tunnels
Start date:
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:
Description
User with "WebCfg - VPN: WireGuard" can't edit anything. On attemt to edit got redirect to wg/vpn_wg_tunnels.php.
Looks like issue with wireguard.inc.php:
These rules(and maybe other rules too)$priv_list['page-vpn-wireguard']['match'][] = "wg/vpn_wg_tunnels_edit.php";
$priv_list['page-vpn-wireguard']['match'][] = "wg/vpn_wg_peers_edit.php";
should be:$priv_list['page-vpn-wireguard']['match'][] = "wg/vpn_wg_tunnels_edit.php*";
$priv_list['page-vpn-wireguard']['match'][] = "wg/vpn_wg_peers_edit.php*";
Actions