Update check permisisons
This commit is contained in:
@@ -34,10 +34,7 @@
|
||||
require_once "resources/paging.php";
|
||||
|
||||
//check permissions
|
||||
if (permission_exists('outbound_route_add')) {
|
||||
//access granted
|
||||
}
|
||||
else {
|
||||
if (!permission_exists('outbound_route_add')) {
|
||||
echo "access denied";
|
||||
exit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user