From 5b8b76c4107d7bbf6de2b1500c016b672ba853cb Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 22 Aug 2005 02:51:47 +0000 Subject: [PATCH] r365: Deny permission to those who don't have it --- vote.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vote.php b/vote.php index 18e3071..6232119 100644 --- a/vote.php +++ b/vote.php @@ -16,6 +16,11 @@ $focus['showreport'] = 'focus'; require_once('./global.php'); +if (!can_perform('canvote')) +{ + $message->error_permission(); +} + // ################################################################### if (empty($_REQUEST['do'])) -- 2.43.5