Skip to content

Commit

Permalink
Fix permission grant for zones in a view https://sourceforge.net/p/we…
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Jul 2, 2015
1 parent e9e453c commit 250a3f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bind8/bind8-lib.pl
Expand Up @@ -880,7 +880,7 @@ sub can_edit_zone
# List of allowed zones
local $ok;
foreach my $z (split(/\s+/, $access{'zones'})) {
$ok++ if ($z eq $zn || ($vn && $z eq $vn));
$ok++ if ($z eq $zn || ($vn && $z eq "view_".$vn));
}
return 0 if (!$ok);
}
Expand Down

0 comments on commit 250a3f7

Please sign in to comment.