Skip to content

Commit 6a331a5

Browse files
fix: fix portforward delete priv
1 parent 052d9de commit 6a331a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pfSense-pkg-API/files/etc/inc/api/models/APIFirewallNATPortForwardDelete.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class APIFirewallNATPortForwardDelete extends APIModel {
2020
# Create our method constructor
2121
public function __construct() {
2222
parent::__construct();
23-
$this->privileges = ["page-all", "page-firewall-nat-outbound-edit"];
23+
$this->privileges = ["page-all", "page-firewall-nat-portforward-edit"];
2424
$this->change_note = "Deleted NAT rule via API";
2525
}
2626

0 commit comments

Comments
 (0)